| Constructor and Description |
|---|
FElem(byte[] n)
Convenience constructor.
|
FElem(byte[] n,
Atts nsp)
Convenience constructor.
|
FElem(org.w3c.dom.Element elem,
ANode p,
TokenMap nss)
Constructor for DOM nodes.
|
FElem(QNm n)
Constructor.
|
FElem(QNm n,
Atts nsp)
Constructor.
|
FElem(QNm nm,
NodeCache ch,
NodeCache at,
Atts nsp)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FElem |
add(ANode node)
Adds a node and updates its parent reference.
|
AxisMoreIter |
attributes()
Returns an attribute axis iterator.
|
byte[] |
baseURI()
Returns the base URI of the node.
|
AxisMoreIter |
children()
Returns a child axis iterator.
|
FNode |
copy()
Returns a copy of the node.
|
boolean |
hasChildren()
Returns true if the node has children.
|
byte[] |
name()
Returns the name of the node, composed of an optional prefix
and the local name.
|
Atts |
namespaces()
Returns all namespaces defined for the nodes.
|
FElem |
optimize()
Minimizes the memory consumption of the node.
|
void |
plan(FElem plan)
Creates an expression tree.
|
QNm |
qname()
Returns the QName of the node.
|
byte[] |
string()
Returns the string value.
|
java.lang.String |
toString() |
ancestor, ancestorOrSelf, deepCopy, descendant, descendantOrSelf, diff, following, followingSibling, is, parent, parent, parentIter, qnameattribute, bool, diff, eq, finish, kind, kind, nodeType, nsScope, preceding, precedingSibling, self, string, toJava, type, uricomparable, dbl, dec, ebv, equiv, flt, hash, homogenous, input, isItem, item, itemAt, iter, iterable, itr, score, score, serialize, size, test, type, typeId, writeTo, xdmInfocache, comp, count, data, description, isValue, iter, iterator, removable, remove, serialize, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isVacuous, markTailCalls, sameAspublic FElem(byte[] n)
n - element namepublic FElem(QNm n)
n - element namepublic FElem(byte[] n,
Atts nsp)
n - element namensp - namespacespublic FElem(QNm nm, NodeCache ch, NodeCache at, Atts nsp)
nm - element namech - children; can be nullat - attributes; can be nullnsp - namespaces; can be nullpublic FElem optimize()
ANodepublic FElem add(ANode node)
node - node to be addedpublic Atts namespaces()
ANodenamespaces in class ANodepublic byte[] string()
ANodepublic byte[] baseURI()
ANodepublic QNm qname()
ANodepublic byte[] name()
ANodeANode.qname(), as no QNm
instance is created.public AxisMoreIter attributes()
ANodeattributes in class FNodepublic AxisMoreIter children()
ANodepublic boolean hasChildren()
ANodehasChildren in class FNodepublic void plan(FElem plan)
ExprInfo