com.sun.tools.xjc.reader.xmlschema
Class RawTypeSetBuilder
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.RawTypeSetBuilder
- All Implemented Interfaces:
- com.sun.xml.xsom.visitor.XSTermVisitor
public class RawTypeSetBuilder
- extends java.lang.Object
- implements com.sun.xml.xsom.visitor.XSTermVisitor
Builds RawTypeSet
for XML Schema.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
builder
protected final BGMBuilder builder
RawTypeSetBuilder
public RawTypeSetBuilder()
build
public static RawTypeSet build(com.sun.xml.xsom.XSParticle p,
boolean optional)
- Parameters:
optional
- if this whole property is optional due to the
occurence constraints on ancestors, set this to true.
this will prevent the primitive types to be generated.
getRefs
public java.util.Set<RawTypeSet.Ref> getRefs()
- Gets the
RawTypeSet.Ref
s that were built.
wildcard
public void wildcard(com.sun.xml.xsom.XSWildcard wc)
- Specified by:
wildcard
in interface com.sun.xml.xsom.visitor.XSTermVisitor
modelGroupDecl
public void modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl decl)
- Specified by:
modelGroupDecl
in interface com.sun.xml.xsom.visitor.XSTermVisitor
modelGroup
public void modelGroup(com.sun.xml.xsom.XSModelGroup group)
- Specified by:
modelGroup
in interface com.sun.xml.xsom.visitor.XSTermVisitor
elementDecl
public void elementDecl(com.sun.xml.xsom.XSElementDecl decl)
- Specified by:
elementDecl
in interface com.sun.xml.xsom.visitor.XSTermVisitor