org.basex.query.item
Class FComm
java.lang.Object
org.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.FComm
public final class FComm
- extends FNode
Comment node fragment.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
Expr.Use |
Fields inherited from class org.basex.query.item.Item |
score, type |
Constructor Summary |
FComm(byte[] t,
Nod p)
Constructor. |
FComm(Node node,
Nod parent)
Constructor for DOM nodes (partial). |
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, nname, ns, parent, prec, precSibl, qname, qname, self, uri |
Methods inherited from class org.basex.query.item.Item |
atomic, comp, d, duplicates, ebv, hashCode, i, iter, iter, n, name, node, plan, removable, returned, s, score, score, size, test, u, uses |
FComm
public FComm(byte[] t,
Nod p)
- Constructor.
- Parameters:
t
- text valuep
- parent
FComm
public FComm(Node node,
Nod parent)
- Constructor for DOM nodes (partial).
Provided by Erdal Karaca.
- Parameters:
node
- DOM nodeparent
- parent reference
str
public byte[] str()
- Description copied from class:
Item
- Returns an atomized string.
- Overrides:
str
in class Item
- Returns:
- string representation
serialize
public void serialize(Serializer ser)
throws IOException
- Description copied from class:
Item
- Serializes the item.
- Overrides:
serialize
in class Item
- Parameters:
ser
- serializer
- Throws:
IOException
- I/O exception
copy
public FComm copy()
- Description copied from class:
Nod
- Creates a new copy (clone) of the node.
- Specified by:
copy
in class Nod
- Returns:
- new copy
toString
public String toString()
- Overrides:
toString
in class Item