com.sun.tools.xjc.reader.xmlschema
Class ExpressionBuilder
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.ExpressionBuilder
- All Implemented Interfaces:
- com.sun.xml.xsom.visitor.XSTermFunction<Expression>
public final class ExpressionBuilder
- extends java.lang.Object
- implements com.sun.xml.xsom.visitor.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(com.sun.xml.xsom.XSParticle p)
wildcard
public Expression wildcard(com.sun.xml.xsom.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 com.sun.xml.xsom.visitor.XSTermFunction<Expression>
modelGroupDecl
public Expression modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl decl)
- Specified by:
modelGroupDecl
in interface com.sun.xml.xsom.visitor.XSTermFunction<Expression>
modelGroup
public Expression modelGroup(com.sun.xml.xsom.XSModelGroup group)
- Specified by:
modelGroup
in interface com.sun.xml.xsom.visitor.XSTermFunction<Expression>
elementDecl
public Element elementDecl(com.sun.xml.xsom.XSElementDecl decl)
- Specified by:
elementDecl
in interface com.sun.xml.xsom.visitor.XSTermFunction<Expression>
particle
public Expression particle(com.sun.xml.xsom.XSParticle p)