|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.expr.Expr
org.basex.query.xquery.item.Item
org.basex.query.xquery.item.Node
org.basex.query.xquery.item.FNode
org.basex.query.xquery.item.FAttr
public final class FAttr
Attribute Node.
| Field Summary |
|---|
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Constructor Summary | |
|---|---|
FAttr(QNm n,
byte[] v,
Node p)
Constructor. |
|
| Method Summary | |
|---|---|
FAttr |
copy()
Creates a new copy (clone) of the node. |
byte[] |
name()
Returns the node name. |
QNm |
qname()
Returns the node name. |
static void |
serialize(PrintOutput out,
byte[] name,
byte[] val)
Serializes the specified attribute value. |
void |
serialize(PrintOutput out,
XQContext ctx,
int level)
Serializes the item. |
void |
serialize(ResultReader rr,
XQContext ctx,
int level)
Serializes the item. |
byte[] |
str()
Returns an atomized string. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xquery.item.FNode |
|---|
anc, ancOrSelf, attr, child, desc, descOrSelf, foll, follSibl, par, prec, precSibl, self |
| Methods inherited from class org.basex.query.xquery.item.Node |
|---|
base, bool, dbl, diff, diff, eq, finish, flt, is, itr, node, ns, parent, parent, u |
| Methods inherited from class org.basex.query.xquery.item.Item |
|---|
castErr, comp, eval, i, info, iter, size |
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
cls, d, e, n, s |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FAttr(QNm n,
byte[] v,
Node p)
n - namev - valuep - parent| Method Detail |
|---|
public FAttr copy()
Node
copy in class Nodepublic byte[] name()
Node
name in class Nodepublic QNm qname()
Node
qname in class Node
public static void serialize(PrintOutput out,
byte[] name,
byte[] val)
throws java.io.IOException
out - output streamname - attribute nameval - attribute value
java.io.IOException - I/O exception
public void serialize(PrintOutput out,
XQContext ctx,
int level)
throws java.io.IOException
Item
serialize in class Itemout - output streamctx - query contextlevel - current level
java.io.IOException - I/O exception
public void serialize(ResultReader rr,
XQContext ctx,
int level)
throws org.xml.sax.SAXException
Item
serialize in class Itemrr - content handlerctx - query contextlevel - current level
org.xml.sax.SAXException - SAX exceptionpublic byte[] str()
Expr
str in class Exprpublic java.lang.String toString()
toString in class Item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||