|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
3.3.1 The Element Declaration Schema Component.
Method Summary | |
XSAnnotation |
getAnnotation()
Optional. |
short |
getConstraintType()
A value constraint: one of default, fixed. |
java.lang.String |
getConstraintValue()
A value constraint: The actual value (with respect to the {type definition}) |
short |
getDisallowedSubstitutions()
The supplied values for {disallowed substitutions} |
XSComplexTypeDefinition |
getEnclosingCTDefinition()
Locally scoped declarations are available for use only within the complex type definition identified by the scope
property. |
XSNamedMap |
getIdentityConstraints()
{identity-constraint definitions} A set of constraint definitions. |
boolean |
getIsAbstract()
{abstract} A boolean. |
boolean |
getIsDisallowedSubstition(short disallowed)
Convenience method. |
boolean |
getIsNillable()
If {nillable} is true, then an element may also be valid if it carries the namespace qualified attribute with [local name] nil from namespace http://www.w3.org/2001/XMLSchema-instance and value true (see xsi:nil (2.6.2)) even if it has no text or element content despite a {content type} which would otherwise require content. |
boolean |
getIsSubstitutionGroupExclusion(short exclusion)
Convenience method. |
short |
getScope()
Optional. |
XSElementDeclaration |
getSubstitutionGroupAffiliation()
{substitution group affiliation} Optional. |
short |
getSubstitutionGroupExclusions()
Specifies if this declaration can be nominated as the {substitution group affiliation} of other element declarations having the same {type definition} or types derived therefrom. |
XSTypeDefinition |
getTypeDefinition()
Either a simple type definition or a complex type definition. |
Methods inherited from interface org.apache.xerces.impl.xs.psvi.XSObject |
getName, getNamespace, getType |
Method Detail |
public XSTypeDefinition getTypeDefinition()
public short getScope()
ctDefinition
). This property is absent in the case of
declarations within named model groups: their scope will be
determined when they are used in the construction of complex type
definitions.public XSComplexTypeDefinition getEnclosingCTDefinition()
scope
property.public short getConstraintType()
public java.lang.String getConstraintValue()
public boolean getIsNillable()
public XSNamedMap getIdentityConstraints()
public XSElementDeclaration getSubstitutionGroupAffiliation()
public boolean getIsSubstitutionGroupExclusion(short exclusion)
exclusion
is a substitution
group exclusion for this element declaration.exclusion
- Extension, restriction or none. Represents final
set for the element.exclusion
is a part of the substitution
group exclusion subset.public short getSubstitutionGroupExclusions()
public boolean getIsDisallowedSubstition(short disallowed)
disallowed
is a disallowed
substitution for this element declaration.disallowed
- Substitution, extension, restriction or none.
Represents a block set for the element.disallowed
is a part of the substitution
group exclusion subset.public short getDisallowedSubstitutions()
public boolean getIsAbstract()
public XSAnnotation getAnnotation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |