Constructor and Description |
---|
FPI(ProcessingInstruction pi)
Constructor for creating a processing instruction from a DOM node.
|
FPI(QNm name,
byte[] value)
Constructor for creating a processing instruction.
|
FPI(String name,
String value)
Constructor for creating a processing instruction.
|
Modifier and Type | Method and Description |
---|---|
FNode |
copy()
Creates a copy of this node.
|
byte[] |
name()
Returns the name of the node, composed of an optional prefix and the local name.
|
static byte[] |
parse(byte[] atom,
InputInfo ii)
Checks the specified token for validity.
|
void |
plan(FElem plan)
Creates an expression tree.
|
QNm |
qname()
Returns the QName of the node.
|
String |
toString() |
ancestor, ancestorOrSelf, attributes, children, deepCopy, descendant, descendantOrSelf, diff, following, followingSibling, hasChildren, is, parent, parent, parentIter, qname, string
atomItem, attribute, attribute, attribute, baseURI, bool, dbCopy, diff, eq, finish, kind, kind, namespaces, nodeType, nsScope, optimize, preceding, precedingSibling, self, string, toJava, type, uri
atomItem, atomSize, atomValue, comparable, dbl, dec, description, ebv, equiv, flt, hash, homogeneous, input, item, itemAt, iter, iterable, itr, materialize, score, score, seqType, size, test, typeId, writeTo, xdmInfo
accept, atomValue, cache, checkUp, compile, copy, count, exprSize, has, inline, isValue, iter, iterator, removable, serialize, serialize, value
atomIter, data, hasFreeVars, indexAccessible, inlineAll, isEmpty, isFunction, isVacuous, markTailCalls, optimize, optimizeEbv, sameAs, typeCheck, uses, visitAll
public FPI(String name, String value)
name
- namevalue
- valuepublic FPI(QNm name, byte[] value)
name
- namevalue
- valuepublic FPI(ProcessingInstruction pi)
pi
- DOM nodepublic QNm qname()
ANode
public byte[] name()
ANode
ANode.qname()
, as no QNm
instance is created.public void plan(FElem plan)
ExprInfo
public static byte[] parse(byte[] atom, InputInfo ii) throws QueryException
atom
- token to be checkedii
- input infoQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.