- 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 Object implements com.sun.xml.xsom.visitor.XSTermFunction<Expression>
VisitsXSParticleand creates a correspondingExpressiontree.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpressioncreateTree(com.sun.xml.xsom.XSParticle p)ElementelementDecl(com.sun.xml.xsom.XSElementDecl decl)ExpressionmodelGroup(com.sun.xml.xsom.XSModelGroup group)ExpressionmodelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl decl)Expressionparticle(com.sun.xml.xsom.XSParticle p)Expressionwildcard(com.sun.xml.xsom.XSWildcard wc)We can only have oneXmlAnyElementproperty, so all the wildcards need to be treated as one node.
-
-
-
Method Detail
-
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 oneXmlAnyElementproperty, so all the wildcards need to be treated as one node.- Specified by:
wildcardin interfacecom.sun.xml.xsom.visitor.XSTermFunction<Expression>
-
modelGroupDecl
public Expression modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl decl)
- Specified by:
modelGroupDeclin interfacecom.sun.xml.xsom.visitor.XSTermFunction<Expression>
-
modelGroup
public Expression modelGroup(com.sun.xml.xsom.XSModelGroup group)
- Specified by:
modelGroupin interfacecom.sun.xml.xsom.visitor.XSTermFunction<Expression>
-
elementDecl
public Element elementDecl(com.sun.xml.xsom.XSElementDecl decl)
- Specified by:
elementDeclin interfacecom.sun.xml.xsom.visitor.XSTermFunction<Expression>
-
particle
public Expression particle(com.sun.xml.xsom.XSParticle p)
-
-