public class RawTypeSetBuilder extends Object implements com.sun.xml.xsom.visitor.XSTermVisitor
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(com.sun.xml.xsom.XSParticle p,
boolean optional) |
void |
elementDecl(com.sun.xml.xsom.XSElementDecl decl) |
Set<RawTypeSet.Ref> |
getRefs()
Gets the
RawTypeSet.Ref s that were built. |
void |
modelGroup(com.sun.xml.xsom.XSModelGroup group) |
void |
modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl decl) |
void |
wildcard(com.sun.xml.xsom.XSWildcard wc) |
protected final BGMBuilder builder
public static RawTypeSet build(com.sun.xml.xsom.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(com.sun.xml.xsom.XSWildcard wc)
wildcard
in interface com.sun.xml.xsom.visitor.XSTermVisitor
public void modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl decl)
modelGroupDecl
in interface com.sun.xml.xsom.visitor.XSTermVisitor
public void modelGroup(com.sun.xml.xsom.XSModelGroup group)
modelGroup
in interface com.sun.xml.xsom.visitor.XSTermVisitor
public void elementDecl(com.sun.xml.xsom.XSElementDecl decl)
elementDecl
in interface com.sun.xml.xsom.visitor.XSTermVisitor
Copyright © 2019 JBoss by Red Hat. All rights reserved.