public interface XSDParticle extends XSDComplexTypeContent
The following features are supported:
XSDPackage.getXSDParticle()
Modifier and Type | Interface and Description |
---|---|
static interface |
XSDParticle.DFA
A deterministic finite state automaton as described for
'Unique Particle Attribution'.
|
Modifier and Type | Field and Description |
---|---|
static int |
UNBOUNDED
The value
-1 representing a max occurs of unbounded. |
Modifier and Type | Method and Description |
---|---|
XSDParticleContent |
getContent()
Returns the value of the 'Content' containment reference.
|
XSDParticle.DFA |
getDFA()
Returns the deterministic finite state automaton that implements this particle's content model.
|
int |
getMaxOccurs()
Returns the value of the 'Max Occurs' attribute.
|
int |
getMinOccurs()
Returns the value of the 'Min Occurs' attribute.
|
XSDTerm |
getTerm()
Returns the value of the 'Term' reference.
|
boolean |
isEmptiable()
Returns whether the particle is
emptiable.
|
boolean |
isSetMaxOccurs()
Returns whether the value of the '
Max Occurs ' attribute is set. |
boolean |
isSetMinOccurs()
Returns whether the value of the '
Min Occurs ' attribute is set. |
boolean |
isSubset(XSDParticle otherParticle)
This returns whether this particle accepts a subset of the content accepted by the other particle,
i.e., whether this is a
valid restriction.
|
void |
setContent(XSDParticleContent value)
Sets the value of the '
Content ' containment reference. |
void |
setMaxOccurs(int value)
Sets the value of the '
Max Occurs ' attribute. |
void |
setMinOccurs(int value)
Sets the value of the '
Min Occurs ' attribute. |
void |
setTerm(XSDTerm value)
Sets the value of the '
Term ' reference. |
void |
unsetMaxOccurs()
Unsets the value of the '
Max Occurs ' attribute. |
void |
unsetMinOccurs()
Unsets the value of the '
Min Occurs ' attribute. |
clearDiagnostics, cloneConcreteComponent, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, updateElement, updateElement, validate
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
static final int UNBOUNDED
-1
representing a max occurs of unbounded.getMaxOccurs()
,
Constant Field Valuesint getMinOccurs()
"1"
.
This represents the min occurs infoset property.
isSetMinOccurs()
,
unsetMinOccurs()
,
setMinOccurs(int)
,
XSDPackage.getXSDParticle_MinOccurs()
void setMinOccurs(int value)
Min Occurs
' attribute.
value
- the new value of the 'Min Occurs' attribute.isSetMinOccurs()
,
unsetMinOccurs()
,
getMinOccurs()
void unsetMinOccurs()
Min Occurs
' attribute.
isSetMinOccurs()
,
getMinOccurs()
,
setMinOccurs(int)
boolean isSetMinOccurs()
Min Occurs
' attribute is set.
unsetMinOccurs()
,
getMinOccurs()
,
setMinOccurs(int)
int getMaxOccurs()
"1"
.
This represents the
max occurs
infoset property.
The unbounded
value is represented by UNBOUNDED
, i.e., -1
.
UNBOUNDED
,
isSetMaxOccurs()
,
unsetMaxOccurs()
,
setMaxOccurs(int)
,
XSDPackage.getXSDParticle_MaxOccurs()
void setMaxOccurs(int value)
Max Occurs
' attribute.
value
- the new value of the 'Max Occurs' attribute.isSetMaxOccurs()
,
unsetMaxOccurs()
,
getMaxOccurs()
void unsetMaxOccurs()
Max Occurs
' attribute.
isSetMaxOccurs()
,
getMaxOccurs()
,
setMaxOccurs(int)
boolean isSetMaxOccurs()
Max Occurs
' attribute is set.
unsetMaxOccurs()
,
getMaxOccurs()
,
setMaxOccurs(int)
XSDParticleContent getContent()
This concrete reference represents the particle content
of the particle.
It is used to compute the term
.
getTerm()
,
setContent(XSDParticleContent)
,
XSDPackage.getXSDParticle_Content()
void setContent(XSDParticleContent value)
Content
' containment reference.
value
- the new value of the 'Content' containment reference.getContent()
XSDTerm getTerm()
This represents the
term
infoset property.
It is computed from the content
and should typically not be modified directly.
getContent()
,
setTerm(XSDTerm)
,
XSDPackage.getXSDParticle_Term()
void setTerm(XSDTerm value)
Term
' reference.
Since the term is computed from the content
, this reference should typically not be modified directly.
value
- the new value of the 'Term' reference.getTerm()
XSDParticle.DFA getDFA()
boolean isEmptiable()
boolean isSubset(XSDParticle otherParticle)
otherParticle
- some other particle.