- java.lang.Object
-
- com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder
-
- All Implemented Interfaces:
XSTermVisitor
public class RawTypeSetBuilder extends Object implements XSTermVisitor
BuildsRawTypeSet
for XML Schema.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RawTypeSetBuilder.CClassRef
Reference to a class that maps from an element.class
RawTypeSetBuilder.CElementInfoRef
Reference to a class that maps from an element.static class
RawTypeSetBuilder.WildcardRef
Reference to a wildcard.static class
RawTypeSetBuilder.XmlTypeRef
References to a type.
-
Field Summary
Fields Modifier and Type Field Description protected BGMBuilder
builder
-
Constructor Summary
Constructors Constructor Description RawTypeSetBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RawTypeSet
build(XSParticle p, boolean optional)
void
elementDecl(XSElementDecl decl)
Set<RawTypeSet.Ref>
getRefs()
Gets theRawTypeSet.Ref
s that were built.void
modelGroup(XSModelGroup group)
void
modelGroupDecl(XSModelGroupDecl decl)
void
wildcard(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.Ref
s that were built.
-
wildcard
public void wildcard(XSWildcard wc)
- Specified by:
wildcard
in interfaceXSTermVisitor
-
modelGroupDecl
public void modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDecl
in interfaceXSTermVisitor
-
modelGroup
public void modelGroup(XSModelGroup group)
- Specified by:
modelGroup
in interfaceXSTermVisitor
-
elementDecl
public void elementDecl(XSElementDecl decl)
- Specified by:
elementDecl
in interfaceXSTermVisitor
-
-