public class ElementConstructor extends AbstractExpression
AbstractExpression.Typesubs, sup| Constructor and Description |
|---|
ElementConstructor(QName qname,
AbstractExpression content,
AttributeConstructor... attributes) |
ElementConstructor(QName qname,
AttributeConstructor... attributes) |
ElementConstructor(QName qname,
Namespace[] namespaces,
AbstractExpression content,
AttributeConstructor... attributes)
Make an element constructor - this models literal element constructors, not computed element
constructors.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractExpression |
accept(ExpressionVisitor visitor) |
QName |
getName() |
int |
getPrecedence() |
void |
toString(StringBuilder buf)
Each subclass must implement the toString(StringBuilder) method by
rendering itself as a syntatically valid XPath/XQuery expression in
the given buffer.
|
acceptSubs, appendSub, deepEquals, equivalent, geq, getBindingContext, getLastContextStep, getRoot, getSubs, getSuper, getTail, getType, isAbsolute, isDocumentOrdered, isRestrictive, matchDown, propEquals, propGreaterEqual, replaceRoot, setSubs, toStringpublic ElementConstructor(QName qname, Namespace[] namespaces, AbstractExpression content, AttributeConstructor... attributes)
qname - the name of the elementnamespaces - this element's namespace declarationscontent - the content of the elementattributes - the element's literal attributes - these AttributeConstructors
may only have LiteralExpressions for their names and valuespublic ElementConstructor(QName qname, AbstractExpression content, AttributeConstructor... attributes)
public ElementConstructor(QName qname, AttributeConstructor... attributes)
public QName getName()
public AbstractExpression accept(ExpressionVisitor visitor)
public void toString(StringBuilder buf)
AbstractExpressiontoString in class AbstractExpressionpublic int getPrecedence()
getPrecedence in class AbstractExpressionCopyright © 2013. All Rights Reserved.