Top Description Fields Constructors Methods
com.sun.tools.xjc.reader.xmlschema

public final Class ExpressionBuilder

extends Object
implements XSTermFunction<Expression>
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.visitor.XSTermFunction
Imports
java.util.HashMap, .Map, jakarta.xml.bind.annotation.XmlAnyElement, javax.xml.namespace.QName, com.sun.tools.xjc.reader.gbind.Choice, .Element, .Expression, .OneOrMore, .Sequence, com.sun.xml.xsom.XSElementDecl, .XSModelGroup, .XSModelGroupDecl, .XSParticle, .XSWildcard, com.sun.xml.xsom.visitor.XSTermFunction, java.math.BigInteger

Visits XSParticle and creates a corresponding Expression tree.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private XSParticle
private final Map<QName, GElementImpl>
private GWildcardElement
wildcard

Wildcard instance needs to be consolidated to one, and this is such instance (if any.)

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Expression
public Element
public Expression
public Expression
public Expression
public Expression
wildcard(XSWildcard wc)

Implements com.sun.xml.xsom.visitor.XSTermFunction.wildcard.

We can only have one XmlAnyElement property, so all the wildcards need to be treated as one node.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentback to summary
private XSParticle current
declsback to summary
private final Map<QName, GElementImpl> decls
wildcardback to summary
private GWildcardElement wildcard

Wildcard instance needs to be consolidated to one, and this is such instance (if any.)

Constructor Detail

ExpressionBuilderback to summary
private ExpressionBuilder()

Method Detail

createTreeback to summary
public static Expression createTree(XSParticle p)
elementDeclback to summary
public Element elementDecl(XSElementDecl decl)

Implements com.sun.xml.xsom.visitor.XSTermFunction.elementDecl.

Annotations
@Override
modelGroupback to summary
public Expression modelGroup(XSModelGroup group)

Implements com.sun.xml.xsom.visitor.XSTermFunction.modelGroup.

Annotations
@Override
modelGroupDeclback to summary
public Expression modelGroupDecl(XSModelGroupDecl decl)

Implements com.sun.xml.xsom.visitor.XSTermFunction.modelGroupDecl.

Annotations
@Override
particleback to summary
public Expression particle(XSParticle p)
wildcardback to summary
public Expression wildcard(XSWildcard wc)

Implements com.sun.xml.xsom.visitor.XSTermFunction.wildcard.

We can only have one XmlAnyElement property, so all the wildcards need to be treated as one node.

Annotations
@Override