|
||||||||||
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.FAttr
public final class FAttr
Attribute 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 | |
---|---|
FAttr(Node node,
Nod p)
Constructor for DOM nodes (partial). |
|
FAttr(QNm n,
byte[] v,
Nod p)
Constructor. |
Method Summary | |
---|---|
FAttr |
copy()
Creates a new copy (clone) of the node. |
byte[] |
nname()
Returns the node name. |
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, base, bool, dbl, dec, diff, eq, finish, flt, foll, follSibl, id, itr, java, kind, ns, 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 FAttr(QNm n, byte[] v, Nod p)
n
- namev
- valuep
- parentpublic FAttr(Node node, Nod p)
node
- DOM nodep
- parent referenceMethod Detail |
---|
public byte[] str()
Item
str
in class Item
public QNm qname()
Nod
qname
in class Nod
public byte[] nname()
Nod
nname
in class Nod
public FAttr copy()
Nod
copy
in class Nod
public void serialize(Serializer ser) throws IOException
Item
serialize
in class Item
ser
- serializer
IOException
- I/O exceptionpublic void plan(Serializer ser) throws IOException
ExprInfo
plan
in class Item
ser
- serializer
IOException
- I/O exceptionpublic String toString()
toString
in class Item
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |