|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.data.ExprInfo
org.basex.query.expr.Expr
org.basex.query.value.Value
org.basex.query.value.item.Item
org.basex.query.value.node.ANode
org.basex.query.value.node.FNode
public abstract class FNode
Main memory based node fragments.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Flag |
Field Summary |
---|
Fields inherited from class org.basex.query.value.node.ANode |
---|
id |
Fields inherited from class org.basex.query.value.item.Item |
---|
score, UNDEF |
Fields inherited from class org.basex.query.value.Value |
---|
type |
Method Summary | |
---|---|
AxisIter |
ancestor()
Returns an ancestor axis iterator. |
AxisIter |
ancestorOrSelf()
Returns an ancestor-or-self axis iterator. |
AxisMoreIter |
attributes()
Returns an attribute axis iterator. |
AxisMoreIter |
children()
Returns a child axis iterator. |
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)
Checks the document order of two nodes. |
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)
Checks if two nodes are identical. |
ANode |
parent()
Returns the parent node. |
FNode |
parent(ANode p)
Sets the parent node. |
AxisIter |
parentIter()
Returns a parent axis iterator. |
QNm |
qname(QNm nm)
Updates the specified with the information of the current node. |
byte[] |
string()
Returns the string value. |
Methods inherited from class org.basex.query.value.node.ANode |
---|
attribute, attribute, attribute, baseURI, bool, copy, dbCopy, diff, diff, eq, finish, kind, kind, name, namespaces, nodeType, nsScope, optimize, preceding, precedingSibling, qname, self, string, toJava, type, uri |
Methods inherited from class org.basex.query.value.item.Item |
---|
castErr, comparable, dbl, dec, description, ebv, equiv, flt, hash, homogeneous, input, isItem, item, itemAt, iter, iterable, itr, materialize, plan, score, score, size, test, type, typeId, writeTo, xdmInfo |
Methods inherited from class org.basex.query.value.Value |
---|
accept, cache, checkUp, compile, copy, count, data, exprSize, has, inline, isValue, iter, iterator, removable, serialize, value |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, compEbv, copy, hasFreeVars, indexAccessible, indexEquivalent, inlineAll, isEmpty, isFunction, isVacuous, markTailCalls, optimize, sameAs, uses, visitAll |
Methods inherited from class org.basex.data.ExprInfo |
---|
addPlan, addPlan, info, planAttr, planElem, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public byte[] string()
ANode
string
in class ANode
public final QNm qname(QNm nm)
ANode
ANode.qname()
, as an existing
QNm
instance is reused.
This function must only be called for elements, attributes and pi's.
qname
in class ANode
nm
- temporary qname
public final ANode deepCopy()
ANode
deepCopy
in class ANode
public final boolean is(ANode node)
ANode
is
in class ANode
node
- node to be compared
public final int diff(ANode node)
ANode
diff
in class ANode
node
- node to be compared
0
if the nodes are identical, or 1
/-1
if the node appears after/before the argumentpublic final ANode parent()
ANode
parent
in class ANode
public final AxisIter ancestor()
ANode
ancestor
in class ANode
public final AxisIter ancestorOrSelf()
ANode
ancestorOrSelf
in class ANode
public AxisMoreIter attributes()
ANode
attributes
in class ANode
public AxisMoreIter children()
ANode
children
in class ANode
public final FNode parent(ANode p)
ANode
parent
in class ANode
p
- parent node
public boolean hasChildren()
ANode
hasChildren
in class ANode
public final AxisIter descendant()
ANode
descendant
in class ANode
public final AxisIter descendantOrSelf()
ANode
descendantOrSelf
in class ANode
public final AxisIter parentIter()
ANode
parentIter
in class ANode
public final AxisIter followingSibling()
ANode
followingSibling
in class ANode
public final AxisIter following()
ANode
following
in class ANode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |