RawTypeSet for XML Schema.
| Modifier and Type | Class and Description |
|---|---|
| public static class | RawTypeSetBuilder.
Reference to a class that maps from an element. |
| public class | RawTypeSetBuilder.
Reference to a class that maps from an element. |
| public static class | RawTypeSetBuilder.
Reference to a wildcard. |
| public static class | RawTypeSetBuilder.
References to a type. |
| Modifier and Type | Field and Description |
|---|---|
| protected final BGMBuilder | |
| private final Set | elementNames
To avoid declaring the same element twice for a content model like (A,A), we keep track of element names here while we are building up this instance. |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RawTypeSet | build(XSParticle p, boolean
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. optional)
|
| public void | |
| public Set | |
| public void | |
| public void | |
| private void | |
| public void |
| builder | back to summary |
|---|---|
| protected final BGMBuilder builder | |
| elementNames | back to summary |
|---|---|
| private final Set<QName> elementNames To avoid declaring the same element twice for a content model like (A,A), we keep track of element names here while we are building up this instance. | |
| refs | back to summary |
|---|---|
| private final Set<RawTypeSet. | |
| RawTypeSetBuilder | back to summary |
|---|---|
| public RawTypeSetBuilder() | |
| build | back to summary |
|---|---|
public static RawTypeSet build(XSParticle p, boolean optional)
| |
| elementDecl | back to summary |
|---|---|
| public void elementDecl(XSElementDecl decl) Implements com.
| |
| getRefs | back to summary |
|---|---|
| public Set Gets the | |
| modelGroup | back to summary |
|---|---|
| public void modelGroup(XSModelGroup group) Implements com.
| |
| modelGroupDecl | back to summary |
|---|---|
| public void modelGroupDecl(XSModelGroupDecl decl) Implements com.
| |
| particle | back to summary |
|---|---|
| private void particle(XSParticle p) Build up | |
| wildcard | back to summary |
|---|---|
| public void wildcard(XSWildcard wc) Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| public final XSElementDecl | |
| public final CClass |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected RawTypeSet. | canBeType(RawTypeSet parent)
Implements abstract com. Can this be a type ref? |
| protected ID | id()
Implements abstract com. When this |
| protected boolean | |
| protected void | toElementRef(CReferencePropertyInfo prop)
Implements abstract com.
|
| protected CTypeRef | toTypeRef(CElementPropertyInfo ep)
Implements abstract com.
|
| decl | back to summary |
|---|---|
| public final XSElementDecl decl | |
| target | back to summary |
|---|---|
| public final CClass target | |
| CClassRef | back to summary |
|---|---|
| pack-priv CClassRef(XSElementDecl decl, CClass target) | |
| canBeType | back to summary |
|---|---|
| protected RawTypeSet. Implements abstract com. Doc from com. Can this be a type ref?
| |
| id | back to summary |
|---|---|
| protected ID id() Implements abstract com. Doc from com. When this
| |
| isListOfValues | back to summary |
|---|---|
| protected boolean isListOfValues() Implements abstract com.
| |
| toElementRef | back to summary |
|---|---|
| protected void toElementRef(CReferencePropertyInfo prop) Implements abstract com.
| |
| toTypeRef | back to summary |
|---|---|
| protected CTypeRef toTypeRef(CElementPropertyInfo ep) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| public final XSElementDecl | |
| public final CElementInfo |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected RawTypeSet. | canBeType(RawTypeSet parent)
Implements abstract com. Can this be a type ref? |
| protected MimeType | getExpectedMimeType()
Overrides com. When this |
| protected ID | id()
Implements abstract com. When this |
| protected boolean | |
| protected void | toElementRef(CReferencePropertyInfo prop)
Implements abstract com.
|
| protected CTypeRef | toTypeRef(CElementPropertyInfo ep)
Implements abstract com.
|
| decl | back to summary |
|---|---|
| public final XSElementDecl decl | |
| target | back to summary |
|---|---|
| public final CElementInfo target | |
| CElementInfoRef | back to summary |
|---|---|
| pack-priv CElementInfoRef(XSElementDecl decl, CElementInfo target) | |
| canBeType | back to summary |
|---|---|
| protected RawTypeSet. Implements abstract com. Doc from com. Can this be a type ref?
| |
| getExpectedMimeType | back to summary |
|---|---|
| protected MimeType getExpectedMimeType() Overrides com. Doc from com. When this
| |
| id | back to summary |
|---|---|
| protected ID id() Implements abstract com. Doc from com. When this
| |
| isListOfValues | back to summary |
|---|---|
| protected boolean isListOfValues() Implements abstract com.
| |
| toElementRef | back to summary |
|---|---|
| protected void toElementRef(CReferencePropertyInfo prop) Implements abstract com.
| |
| toTypeRef | back to summary |
|---|---|
| protected CTypeRef toTypeRef(CElementPropertyInfo ep) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final WildcardMode |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected RawTypeSet. | canBeType(RawTypeSet parent)
Implements abstract com. Can this be a type ref? |
| private static WildcardMode | |
| protected ID | id()
Implements abstract com. When this |
| protected boolean | |
| protected void | toElementRef(CReferencePropertyInfo prop)
Implements abstract com.
|
| protected CTypeRef | toTypeRef(CElementPropertyInfo ep)
Implements abstract com.
|
| mode | back to summary |
|---|---|
| private final WildcardMode mode | |
| WildcardRef | back to summary |
|---|---|
| pack-priv WildcardRef(XSWildcard wildcard) | |
| WildcardRef | back to summary |
|---|---|
| pack-priv WildcardRef(WildcardMode mode) | |
| canBeType | back to summary |
|---|---|
| protected RawTypeSet. Implements abstract com. Doc from com. Can this be a type ref?
| |
| getMode | back to summary |
|---|---|
| private static WildcardMode getMode(XSWildcard wildcard) | |
| id | back to summary |
|---|---|
| protected ID id() Implements abstract com. Doc from com. When this
| |
| isListOfValues | back to summary |
|---|---|
| protected boolean isListOfValues() Implements abstract com.
| |
| toElementRef | back to summary |
|---|---|
| protected void toElementRef(CReferencePropertyInfo prop) Implements abstract com.
| |
| toTypeRef | back to summary |
|---|---|
| protected CTypeRef toTypeRef(CElementPropertyInfo ep) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final XSElementDecl | |
| private final TypeUse |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected RawTypeSet. | canBeType(RawTypeSet parent)
Implements abstract com. Can this be a type ref? |
| protected MimeType | getExpectedMimeType()
Overrides com. When this |
| protected ID | id()
Implements abstract com. When this |
| protected boolean | |
| protected void | toElementRef(CReferencePropertyInfo prop)
Implements abstract com. The whole type set can be later bound to a reference property, in which case we need to generate additional code to wrap this type reference into an element class. |
| protected CTypeRef | toTypeRef(CElementPropertyInfo ep)
Implements abstract com.
|
| decl | back to summary |
|---|---|
| private final XSElementDecl decl | |
| target | back to summary |
|---|---|
| private final TypeUse target | |
| XmlTypeRef | back to summary |
|---|---|
| public XmlTypeRef(XSElementDecl decl) | |
| canBeType | back to summary |
|---|---|
| protected RawTypeSet. Implements abstract com. Doc from com. Can this be a type ref?
| |
| getExpectedMimeType | back to summary |
|---|---|
| protected MimeType getExpectedMimeType() Overrides com. Doc from com. When this
| |
| id | back to summary |
|---|---|
| protected ID id() Implements abstract com. Doc from com. When this
| |
| isListOfValues | back to summary |
|---|---|
| protected boolean isListOfValues() Implements abstract com.
| |
| toElementRef | back to summary |
|---|---|
| protected void toElementRef(CReferencePropertyInfo prop) Implements abstract com. The whole type set can be later bound to a reference property, in which case we need to generate additional code to wrap this type reference into an element class. This method generates such an element class and returns it.
| |
| toTypeRef | back to summary |
|---|---|
| protected CTypeRef toTypeRef(CElementPropertyInfo ep) Implements abstract com.
| |