org.basex.query.xquery.item
Class FAttr
java.lang.Object
org.basex.query.ExprInfo
org.basex.query.xquery.expr.Expr
org.basex.query.xquery.item.Item
org.basex.query.xquery.item.Nod
org.basex.query.xquery.item.FNode
org.basex.query.xquery.item.FAttr
public final class FAttr
- extends FNode
Attribute Node.
- Author:
- Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen
Fields inherited from class org.basex.query.xquery.item.Item |
type |
Constructor Summary |
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. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.query.xquery.item.Nod |
anc, ancOrSelf, base, bool, dbl, dec, diff, diff, eq, finish, flt, foll, follSibl, is, itr, java, ns, par, parent, parent, prec, precSibl, qname, self |
Methods inherited from class org.basex.query.xquery.item.Item |
castErr, comp, d, hash, i, iter, iter, n, name, node, returned, s, score, score, size, u, uses |
Methods inherited from class org.basex.query.xquery.expr.Expr |
e |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FAttr
public FAttr(QNm n,
byte[] v,
Nod p)
- Constructor.
- Parameters:
n
- namev
- valuep
- parent
str
public byte[] str()
- Description copied from class:
Item
- Returns an atomized string.
- Overrides:
str
in class Item
- Returns:
- string representation
toString
public java.lang.String toString()
- Overrides:
toString
in class Item
qname
public QNm qname()
- Description copied from class:
Nod
- Returns the node name.
- Overrides:
qname
in class Nod
- Returns:
- name
nname
public byte[] nname()
- Description copied from class:
Nod
- Returns the node name.
- Overrides:
nname
in class Nod
- Returns:
- name
copy
public FAttr copy()
- Description copied from class:
Nod
- Creates a new copy (clone) of the node.
- Specified by:
copy
in class Nod
- Returns:
- new copy
serialize
public void serialize(Serializer ser)
throws java.io.IOException
- Description copied from class:
Item
- Serializes the item.
- Overrides:
serialize
in class Item
- Parameters:
ser
- serializer
- Throws:
java.io.IOException
- exception
plan
public void plan(Serializer ser)
throws java.io.IOException
- Description copied from class:
ExprInfo
- Recursively sends the abstract syntax of this expression to the
specified serializer.
- Overrides:
plan
in class Item
- Parameters:
ser
- serializer
- Throws:
java.io.IOException
- exception