|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.item.Item
org.basex.query.item.Nod
org.basex.query.item.FNode
org.basex.query.item.FElem
public final class FElem
Element node fragment.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Use |
Field Summary |
---|
Fields inherited from class org.basex.query.item.Item |
---|
score, type |
Constructor Summary | |
---|---|
FElem(Node node,
Nod p)
Constructor for DOM nodes (partial). |
|
FElem(QNm n,
byte[] b,
Nod p)
Constructor. |
|
FElem(QNm n,
NodIter ch,
NodIter at,
byte[] b,
Atts nsp,
Nod p)
Constructor. |
Method Summary | |
---|---|
byte[] |
base()
Returns the database name. |
FElem |
copy()
Creates a new copy (clone) of the node. |
byte[] |
nname()
Returns the node name. |
Atts |
ns()
Returns a namespace array. |
static Atts |
ns(Nod node)
Returns the namespace hierarchy for the specified node. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
QNm |
qname()
Returns the node name. |
void |
serialize(Serializer ser)
Serializes the item. |
byte[] |
str()
Returns an atomized string. |
String |
toString()
|
Methods inherited from class org.basex.query.item.FNode |
---|
attr, child, desc, descOrSelf, diff, is, par, parent |
Methods inherited from class org.basex.query.item.Nod |
---|
anc, ancOrSelf, bool, dbl, dec, diff, eq, finish, flt, foll, follSibl, id, itr, java, kind, parent, prec, precSibl, qname, self, uri |
Methods inherited from class org.basex.query.item.Item |
---|
atomic, comp, d, duplicates, ebv, hashCode, i, iter, iter, n, name, node, removable, returned, s, score, score, size, test, u, uses |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, checkCtx, checkDbl, checkItr, e, indexAccessible, indexEquivalent, remove, sameAs, v |
Methods inherited from class org.basex.query.ExprInfo |
---|
color, info |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FElem(QNm n, byte[] b, Nod p)
n
- tag nameb
- base urip
- parentpublic FElem(QNm n, NodIter ch, NodIter at, byte[] b, Atts nsp, Nod p)
n
- tag namech
- childrenat
- attributesb
- base urinsp
- namespacesp
- parentpublic FElem(Node node, Nod p)
node
- DOM nodep
- parent referenceMethod Detail |
---|
public byte[] base()
Nod
base
in class Nod
public QNm qname()
Nod
qname
in class Nod
public byte[] nname()
Nod
nname
in class Nod
public Atts ns()
Nod
ns
in class Nod
public byte[] str()
Item
str
in class Item
public void serialize(Serializer ser) throws IOException
Item
serialize
in class Item
ser
- serializer
IOException
- I/O exceptionpublic static Atts ns(Nod node)
node
- input node
public FElem copy()
Nod
copy
in class Nod
public String toString()
toString
in class Item
public void plan(Serializer ser) throws IOException
ExprInfo
plan
in class Item
ser
- serializer
IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |