XSTermVisitor
public class RawTypeSetBuilder extends 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) |
|
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 Set<RawTypeSet.Ref> getRefs()
RawTypeSet.Ref
s that were built.public void wildcard(XSWildcard wc)
wildcard
in interface XSTermVisitor
public void modelGroupDecl(XSModelGroupDecl decl)
modelGroupDecl
in interface XSTermVisitor
public void modelGroup(XSModelGroup group)
modelGroup
in interface XSTermVisitor
public void elementDecl(XSElementDecl decl)
elementDecl
in interface XSTermVisitor
Copyright © 2018 Oracle Corporation. All rights reserved.