| Modifier and Type | Field and Description |
|---|---|
Data |
data
Data reference.
|
int |
pre
Pre value.
|
| Constructor and Description |
|---|
DBNode(Data d)
Constructor, creating a document node from the specified data reference.
|
DBNode(Data d,
int p)
Constructor, creating a node from the specified data reference.
|
DBNode(Data d,
int p,
int k)
Constructor, specifying full node information.
|
DBNode(IO input,
Prop prop)
Constructor, specifying an XML input reference.
|
DBNode(Parser parser)
Constructor, specifying a parser reference.
|
| Modifier and Type | Method and Description |
|---|---|
AxisIter |
ancestor()
Returns an ancestor axis iterator.
|
AxisIter |
ancestorOrSelf()
Returns an ancestor-or-self axis iterator.
|
AxisMoreIter |
attributes()
Returns an attribute axis iterator.
|
byte[] |
baseURI()
Returns the base URI of the node.
|
AxisMoreIter |
children()
Returns a child axis iterator.
|
DBNode |
copy()
Returns a copy of the node.
|
Data |
data()
Returns the data reference (if) attached to this value.
|
double |
dbl(InputInfo ii)
Returns a double representation of the value.
|
ANode |
deepCopy()
Returns a deep copy of the node.
|
AxisIter |
descendant()
Returns a descendant axis iterator.
|
AxisIter |
descendantOrSelf()
Returns a descendant-or-self axis iterator.
|
int |
diff(ANode node)
Compares two nodes for their unique order.
|
DBNode |
finish()
Returns a final node representation.
|
AxisIter |
following()
Returns a following axis iterator.
|
AxisIter |
followingSibling()
Returns a following-sibling axis iterator.
|
boolean |
hasChildren()
Returns true if the node has children.
|
boolean |
is(ANode node)
Compares the identity of two nodes.
|
long |
itr(InputInfo ii)
Returns an integer (long) representation of the value.
|
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.
|
ANode |
parent()
Returns the parent node.
|
DBNode |
parent(ANode p)
Sets the parent node.
|
AxisIter |
parentIter()
Returns a parent axis iterator.
|
void |
plan(Serializer ser)
Serializes the expression tree.
|
QNm |
qname()
Returns the QName of the node.
|
QNm |
qname(QNm name)
Updates the specified with the information of the current node.
|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
void |
serialize(Serializer ser)
Serializes the item.
|
void |
set(int p,
int k)
Sets the node type.
|
byte[] |
string()
Returns the string value.
|
java.lang.String |
toString() |
byte[] |
xdmInfo()
Returns meta data on the current item.
|
attribute, bool, diff, eq, kind, kind, nodeType, nsScope, optimize, preceding, precedingSibling, self, string, toJava, type, uricomparable, dec, ebv, equiv, flt, hash, homogenous, input, isItem, item, itemAt, iter, iterable, score, score, size, test, type, writeTocache, comp, count, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isVacuous, markTailCallspublic final Data data
public int pre
public DBNode(Data d)
d - data referencepublic DBNode(Data d, int p)
d - data referencep - pre valuepublic DBNode(Data d, int p, int k)
d - data referencep - pre valuek - node kindpublic DBNode(IO input, Prop prop) throws java.io.IOException
input - input referenceprop - database propertiesjava.io.IOException - I/O exceptionpublic DBNode(Parser parser) throws java.io.IOException
parser - parserjava.io.IOException - I/O exceptionpublic final void set(int p,
int k)
p - pre valuek - node kindpublic final Data data()
Valuepublic final byte[] string()
ANodepublic final long itr(InputInfo ii) throws QueryException
Itemitr in class Itemii - input infoQueryException - query exceptionpublic final double dbl(InputInfo ii) throws QueryException
Itemdbl in class Itemii - input infoQueryException - query exceptionpublic final void serialize(Serializer ser) throws java.io.IOException
Itempublic final byte[] name()
ANodeANode.qname(), as no QNm
instance is created.public final QNm qname()
ANodepublic final QNm qname(QNm name)
ANodeANode.qname(), as an existing
QNm instance is reused.
This function must only be called for elements, attributes and pi's.public final Atts namespaces()
ANodenamespaces in class ANodepublic final byte[] baseURI()
ANodepublic final boolean is(ANode node)
ANodepublic final int diff(ANode node)
ANodepublic final ANode deepCopy()
ANodepublic final DBNode finish()
ANodepublic final boolean hasChildren()
ANodehasChildren in class ANodepublic final AxisIter ancestor()
ANodepublic final AxisIter ancestorOrSelf()
ANodeancestorOrSelf in class ANodepublic final AxisMoreIter attributes()
ANodeattributes in class ANodepublic final AxisMoreIter children()
ANodepublic final AxisIter descendant()
ANodedescendant in class ANodepublic final AxisIter descendantOrSelf()
ANodedescendantOrSelf in class ANodepublic final AxisIter following()
ANodepublic final AxisIter followingSibling()
ANodefollowingSibling in class ANodepublic final AxisIter parentIter()
ANodeparentIter in class ANodepublic final boolean sameAs(Expr cmp)
Exprpublic final void plan(Serializer ser) throws java.io.IOException
ExprInfopublic byte[] xdmInfo()
Item