|
||||||||||
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
org.basex.query.value.node.FDoc
public final class FDoc
Document node fragment.
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 |
Constructor Summary | |
---|---|
FDoc()
Constructor. |
|
FDoc(ANodeList ch,
byte[] b)
Constructor. |
|
FDoc(byte[] b)
Constructor. |
|
FDoc(org.w3c.dom.DocumentFragment doc,
byte[] bu)
Constructor for DOM nodes. |
|
FDoc(java.lang.String b)
Constructor. |
Method Summary | |
---|---|
FDoc |
add(ANode node)
Adds a node and updates its parent reference. |
byte[] |
baseURI()
Returns the base URI of the node. |
AxisMoreIter |
children()
Returns a child axis iterator. |
FDoc |
copy()
Creates a copy of this node. |
boolean |
hasChildren()
Returns true if the node has children. |
FDoc |
optimize()
Minimizes the memory consumption of the node. |
void |
plan(FElem plan)
Creates an expression tree. |
byte[] |
string()
Returns the string value. |
java.lang.String |
toString()
|
Type.ID |
typeId()
Returns a type id. |
byte[] |
xdmInfo()
Returns data model info. |
Methods inherited from class org.basex.query.value.node.FNode |
---|
ancestor, ancestorOrSelf, attributes, deepCopy, descendant, descendantOrSelf, diff, following, followingSibling, is, parent, parent, parentIter, qname |
Methods inherited from class org.basex.query.value.node.ANode |
---|
attribute, attribute, attribute, bool, dbCopy, diff, diff, eq, finish, kind, kind, name, namespaces, nodeType, nsScope, 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, score, score, size, test, type, writeTo |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FDoc()
public FDoc(java.lang.String b)
b
- base uripublic FDoc(byte[] b)
b
- base uripublic FDoc(ANodeList ch, byte[] b)
ch
- childrenb
- base uripublic FDoc(org.w3c.dom.DocumentFragment doc, byte[] bu)
doc
- DOM nodebu
- base uriMethod Detail |
---|
public FDoc optimize()
ANode
optimize
in class ANode
public FDoc add(ANode node)
node
- node to be added
public byte[] string()
ANode
string
in class FNode
public AxisMoreIter children()
ANode
children
in class FNode
public boolean hasChildren()
ANode
hasChildren
in class FNode
public byte[] baseURI()
ANode
baseURI
in class ANode
public FDoc copy()
ANode
copy
in class ANode
public void plan(FElem plan)
ExprInfo
plan
in class Item
plan
- root elementpublic byte[] xdmInfo()
Item
xdmInfo
in class Item
public Type.ID typeId()
Item
typeId
in class Item
public java.lang.String toString()
toString
in class ExprInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |