- java.lang.Object
-
- com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder
-
- All Implemented Interfaces:
com.sun.xml.xsom.visitor.XSTermVisitor
public class RawTypeSetBuilder extends Object implements com.sun.xml.xsom.visitor.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(com.sun.xml.xsom.XSParticle p, boolean optional)voidelementDecl(com.sun.xml.xsom.XSElementDecl decl)Set<RawTypeSet.Ref>getRefs()Gets theRawTypeSet.Refs that were built.voidmodelGroup(com.sun.xml.xsom.XSModelGroup group)voidmodelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl decl)voidwildcard(com.sun.xml.xsom.XSWildcard wc)
-
-
-
Field Detail
-
builder
protected final BGMBuilder builder
-
-
Method Detail
-
build
public static RawTypeSet build(com.sun.xml.xsom.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(com.sun.xml.xsom.XSWildcard wc)
- Specified by:
wildcardin interfacecom.sun.xml.xsom.visitor.XSTermVisitor
-
modelGroupDecl
public void modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl decl)
- Specified by:
modelGroupDeclin interfacecom.sun.xml.xsom.visitor.XSTermVisitor
-
modelGroup
public void modelGroup(com.sun.xml.xsom.XSModelGroup group)
- Specified by:
modelGroupin interfacecom.sun.xml.xsom.visitor.XSTermVisitor
-
elementDecl
public void elementDecl(com.sun.xml.xsom.XSElementDecl decl)
- Specified by:
elementDeclin interfacecom.sun.xml.xsom.visitor.XSTermVisitor
-
-