Class RawTypeSetBuilder
- java.lang.Object
-
- com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder
-
- All Implemented Interfaces:
XSTermVisitor
public class RawTypeSetBuilder extends Object implements XSTermVisitor
BuildsRawTypeSetfor XML Schema.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRawTypeSetBuilder.CClassRefReference to a class that maps from an element.classRawTypeSetBuilder.CElementInfoRefReference to a class that maps from an element.static classRawTypeSetBuilder.WildcardRefReference to a wildcard.static classRawTypeSetBuilder.XmlTypeRefReferences to a type.
-
Field Summary
Fields Modifier and Type Field Description protected BGMBuilderbuilder
-
Constructor Summary
Constructors Constructor Description RawTypeSetBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RawTypeSetbuild(XSParticle p, boolean optional)voidelementDecl(XSElementDecl decl)Set<RawTypeSet.Ref>getRefs()Gets theRawTypeSet.Refs that were built.voidmodelGroup(XSModelGroup group)voidmodelGroupDecl(XSModelGroupDecl decl)voidwildcard(XSWildcard wc)
-
-
-
Field Detail
-
builder
protected final BGMBuilder builder
-
-
Method Detail
-
build
public static RawTypeSet build(XSParticle p, boolean optional)
- Parameters:
optional- if this whole property is optional due to the occurrence constraints on ancestors, set this to true. this will prevent the primitive types to be generated.
-
getRefs
public Set<RawTypeSet.Ref> getRefs()
Gets theRawTypeSet.Refs that were built.
-
wildcard
public void wildcard(XSWildcard wc)
- Specified by:
wildcardin interfaceXSTermVisitor
-
modelGroupDecl
public void modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDeclin interfaceXSTermVisitor
-
modelGroup
public void modelGroup(XSModelGroup group)
- Specified by:
modelGroupin interfaceXSTermVisitor
-
elementDecl
public void elementDecl(XSElementDecl decl)
- Specified by:
elementDeclin interfaceXSTermVisitor
-
-