com.sun.tools.xjc.reader.xmlschema
Class ExpressionBuilder
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.ExpressionBuilder
- All Implemented Interfaces:
- XSTermFunction<Expression>
public final class ExpressionBuilder
- extends Object
- implements XSTermFunction<Expression>
Visits XSParticle
and creates a corresponding Expression
tree.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createTree
public static Expression createTree(XSParticle p)
wildcard
public Expression wildcard(XSWildcard wc)
- We can only have one
XmlAnyElement
property,
so all the wildcards need to be treated as one node.
- Specified by:
wildcard
in interface XSTermFunction<Expression>
modelGroupDecl
public Expression modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDecl
in interface XSTermFunction<Expression>
modelGroup
public Expression modelGroup(XSModelGroup group)
- Specified by:
modelGroup
in interface XSTermFunction<Expression>
elementDecl
public Element elementDecl(XSElementDecl decl)
- Specified by:
elementDecl
in interface XSTermFunction<Expression>
particle
public Expression particle(XSParticle p)