XSTermVisitorpublic class RawTypeSetBuilder extends java.lang.Object implements XSTermVisitor
RawTypeSet for XML Schema.| 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.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected BGMBuilder |
builder |
| Constructor | Description |
|---|---|
RawTypeSetBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
static RawTypeSet |
build(XSParticle p,
boolean optional) |
|
void |
elementDecl(XSElementDecl decl) |
|
java.util.Set<RawTypeSet.Ref> |
getRefs() |
Gets the
RawTypeSet.Refs 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.Refs that were built.public void wildcard(XSWildcard wc)
wildcard in interface XSTermVisitorpublic void modelGroupDecl(XSModelGroupDecl decl)
modelGroupDecl in interface XSTermVisitorpublic void modelGroup(XSModelGroup group)
modelGroup in interface XSTermVisitorpublic void elementDecl(XSElementDecl decl)
elementDecl in interface XSTermVisitorCopyright © 2018 Oracle Corporation. All rights reserved.