XSTermFunction<Expression>
public final class ExpressionBuilder extends Object implements XSTermFunction<Expression>
XSParticle
and creates a corresponding Expression
tree.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 one
XmlAnyElement property,
so all the wildcards need to be treated as one node. |
public static Expression createTree(XSParticle p)
public Expression wildcard(XSWildcard wc)
XmlAnyElement
property,
so all the wildcards need to be treated as one node.wildcard
in interface XSTermFunction<Expression>
public Expression modelGroupDecl(XSModelGroupDecl decl)
modelGroupDecl
in interface XSTermFunction<Expression>
public Expression modelGroup(XSModelGroup group)
modelGroup
in interface XSTermFunction<Expression>
public Element elementDecl(XSElementDecl decl)
elementDecl
in interface XSTermFunction<Expression>
public Expression particle(XSParticle p)
Copyright © 2018 Oracle Corporation. All rights reserved.