| Constructor and Description |
|---|
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(Serializer ser)
Serializes the expression tree.
|
QNm |
qname()
Returns the QName of the node.
|
void |
serialize(Serializer ser)
Serializes the item.
|
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, size, test, type, writeTo, xdmInfocache, comp, count, data, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isVacuous, markTailCalls, sameAspublic FElem(QNm n)
n - tag namepublic 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 serialize(Serializer ser) throws java.io.IOException
Itempublic void plan(Serializer ser) throws java.io.IOException
ExprInfo