- java.lang.Object
-
- com.sun.tools.xjc.reader.xmlschema.ExpressionBuilder
-
- All Implemented Interfaces:
XSTermFunction<Expression>
public final class ExpressionBuilder extends Object implements XSTermFunction<Expression>
VisitsXSParticle
and creates a correspondingExpression
tree.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Expression
createTree(XSParticle p)
Element
elementDecl(XSElementDecl decl)
Expression
modelGroup(XSModelGroup group)
Expression
modelGroupDecl(XSModelGroupDecl decl)
Expression
particle(XSParticle p)
Expression
wildcard(XSWildcard wc)
We can only have oneXmlAnyElement
property, so all the wildcards need to be treated as one node.
-
-
-
Method Detail
-
createTree
public static Expression createTree(XSParticle p)
-
wildcard
public Expression wildcard(XSWildcard wc)
We can only have oneXmlAnyElement
property, so all the wildcards need to be treated as one node.- Specified by:
wildcard
in interfaceXSTermFunction<Expression>
-
modelGroupDecl
public Expression modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDecl
in interfaceXSTermFunction<Expression>
-
modelGroup
public Expression modelGroup(XSModelGroup group)
- Specified by:
modelGroup
in interfaceXSTermFunction<Expression>
-
elementDecl
public Element elementDecl(XSElementDecl decl)
- Specified by:
elementDecl
in interfaceXSTermFunction<Expression>
-
particle
public Expression particle(XSParticle p)
-
-