public class RawTypeSetBuilder
extends java.lang.Object
RawTypeSet
for XML Schema.Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
protected BGMBuilder |
builder |
Constructor and Description |
---|
RawTypeSetBuilder() |
Modifier and Type | Method and Description |
---|---|
static RawTypeSet |
build(XSParticle p,
boolean optional) |
void |
elementDecl(XSElementDecl decl) |
java.util.Set<RawTypeSet.Ref> |
getRefs()
Gets the
RawTypeSet.Ref s that were built. |
void |
modelGroup(XSModelGroup group) |
void |
modelGroupDecl(XSModelGroupDecl decl) |
void |
wildcard(XSWildcard wc) |
protected final BGMBuilder builder
public static RawTypeSet build(XSParticle p, boolean optional)
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.public java.util.Set<RawTypeSet.Ref> getRefs()
RawTypeSet.Ref
s that were built.public void wildcard(XSWildcard wc)
public void modelGroupDecl(XSModelGroupDecl decl)
public void modelGroup(XSModelGroup group)
public void elementDecl(XSElementDecl decl)