org.basex.query.expr
Class Constr

java.lang.Object
  extended by org.basex.query.expr.Constr

public final class Constr
extends java.lang.Object

Element constructor.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Field Summary
 ANodeList atts
          Attribute array.
 ANodeList children
          Node array.
 byte[] duplAtt
          Error: duplicate attribute.
 byte[] duplNS
          Error: duplicate namespace.
 boolean errAtt
          Error: attribute position.
 boolean errNS
          Error: namespace position.
 Atts nspaces
          Namespace array.
 
Constructor Summary
Constr(InputInfo ii, QueryContext qc)
          Creates the children of the constructor.
 
Method Summary
 Constr add(Expr... expr)
          Constructs child and attribute nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

public final ANodeList children
Node array.


atts

public final ANodeList atts
Attribute array.


nspaces

public final Atts nspaces
Namespace array.


errAtt

public boolean errAtt
Error: attribute position.


errNS

public boolean errNS
Error: namespace position.


duplAtt

public byte[] duplAtt
Error: duplicate attribute.


duplNS

public byte[] duplNS
Error: duplicate namespace.

Constructor Detail

Constr

public Constr(InputInfo ii,
              QueryContext qc)
Creates the children of the constructor.

Parameters:
ii - input info
qc - query context
Method Detail

add

public Constr add(Expr... expr)
           throws QueryException
Constructs child and attribute nodes.

Parameters:
expr - input expressions
Returns:
self reference
Throws:
QueryException - query exception