Methods Summary |
---|
public boolean | getAbstract(){abstract} A boolean.
|
public XSAnnotation | getAnnotation()Optional. Annotation.
|
public short | getConstraintType()[Value constraint]: one of VC_NONE, VC_DEFAULT, VC_FIXED .
|
public java.lang.String | getConstraintValue()[Value constraint]: the actual value with respect to the [type
definition].
|
public short | getDisallowedSubstitutions()[disallowed substitutions]: the returned value is a bit combination of
the subset of {
DERIVATION_SUBSTITUTION, DERIVATION_EXTENSION, DERIVATION_RESTRICTION
} corresponding to substitutions disallowed by this
XSElementDeclaration or DERIVATION_NONE .
|
public XSComplexTypeDefinition | getEnclosingCTDefinition()The complex type definition for locally scoped declarations (see
scope ).
|
public XSNamedMap | getIdentityConstraints()identity-constraint definitions: a set of constraint definitions.
|
public boolean | getNillable()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 (xsi:nil) even if it has no text or
element content despite a content type which would
otherwise require content.
|
public short | getScope()Optional. One of SCOPE_GLOBAL , SCOPE_LOCAL ,
or SCOPE_ABSENT . If the scope is local, then the
enclosingCTDefinition is present.
|
public com.sun.org.apache.xerces.internal.impl.xs.psvi.XSElementDeclaration | getSubstitutionGroupAffiliation()[substitution group affiliation]: optional. A top-level element
definition.
|
public short | getSubstitutionGroupExclusions()[substitution group exclusions]: the returned value is a bit
combination of the subset of {
DERIVATION_EXTENSION, DERIVATION_RESTRICTION } or
DERIVATION_NONE .
|
public XSTypeDefinition | getTypeDefinition()[type definition]: either a simple type definition or a complex type
definition.
|
public boolean | isDisallowedSubstitution(short disallowed)Convenience method. Check if disallowed is a disallowed
substitution for this element declaration.
|
public boolean | isSubstitutionGroupExclusion(short exclusion)Convenience method. Check if exclusion is a substitution
group exclusion for this element declaration.
|