Class RawTypeSetBuilder
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder
- All Implemented Interfaces:
XSTermVisitor
Builds
RawTypeSet
for XML Schema.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Reference to a class that maps from an element.final class
Reference to a class that maps from an element.static final class
Reference to a wildcard.static final class
References to a type. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RawTypeSet
build
(XSParticle p, boolean optional) void
elementDecl
(XSElementDecl decl) getRefs()
Gets theRawTypeSet.Ref
s that were built.void
modelGroup
(XSModelGroup group) void
void
wildcard
(XSWildcard wc)
-
Field Details
-
builder
-
-
Constructor Details
-
RawTypeSetBuilder
public RawTypeSetBuilder()
-
-
Method Details
-
build
- 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
Gets theRawTypeSet.Ref
s that were built. -
wildcard
- Specified by:
wildcard
in interfaceXSTermVisitor
-
modelGroupDecl
- Specified by:
modelGroupDecl
in interfaceXSTermVisitor
-
modelGroup
- Specified by:
modelGroup
in interfaceXSTermVisitor
-
elementDecl
- Specified by:
elementDecl
in interfaceXSTermVisitor
-