| org.apache.xerces.xs.XSComplexTypeDefinition
All known Subclasses: org.apache.xerces.impl.xs.XSComplexTypeDecl,
XSComplexTypeDefinition | public interface XSComplexTypeDefinition extends XSTypeDefinition(Code) | | This interface represents the Complex Type Definition schema component.
|
Method Summary | |
public boolean | getAbstract() [abstract]: a boolean. | public XSObjectList | getAnnotations() A sequence of [annotations] or an empty XSObjectList . | public XSObjectList | getAttributeUses() A set of attribute uses if it exists, otherwise an empty
XSObjectList . | public XSWildcard | getAttributeWildcard() An attribute wildcard if it exists, otherwise null . | public short | getContentType() [content type]: one of empty (CONTENTTYPE_EMPTY ), a simple
type definition (CONTENTTYPE_SIMPLE ), mixed (
CONTENTTYPE_MIXED ), or element-only (
CONTENTTYPE_ELEMENT ). | public short | getDerivationMethod() [derivation method]: either DERIVATION_EXTENSION ,
DERIVATION_RESTRICTION , or DERIVATION_NONE
(see XSConstants ). | public XSParticle | getParticle() A particle for a mixed or element-only content model, otherwise
null . | public short | getProhibitedSubstitutions() [prohibited substitutions]: A subset of {extension, restriction} or
DERIVATION_NONE represented as a bit flag (see
XSConstants ). | public XSSimpleTypeDefinition | getSimpleType() A simple type definition corresponding to a simple content model,
otherwise null . | public boolean | isProhibitedSubstitution(short restriction) [prohibited substitutions]: a subset of {extension, restriction}
Parameters: restriction - Extension or restriction constants (see XSConstants ). |
CONTENTTYPE_ELEMENT | final public static short CONTENTTYPE_ELEMENT(Code) | | Represents an element-only content type. An element-only content type
validates elements with children that conform to the supplied content
model.
|
CONTENTTYPE_EMPTY | final public static short CONTENTTYPE_EMPTY(Code) | | Represents an empty content type. A content type with the distinguished
value empty validates elements with no character or element
information item children.
|
CONTENTTYPE_MIXED | final public static short CONTENTTYPE_MIXED(Code) | | Represents a mixed content type.
|
CONTENTTYPE_SIMPLE | final public static short CONTENTTYPE_SIMPLE(Code) | | Represents a simple content type. A content type which is simple
validates elements with character-only children.
|
getAbstract | public boolean getAbstract()(Code) | | [abstract]: a boolean. Complex types for which abstract is
true must not be used as the type definition for the validation of
element information items.
|
getAnnotations | public XSObjectList getAnnotations()(Code) | | A sequence of [annotations] or an empty XSObjectList .
|
getAttributeUses | public XSObjectList getAttributeUses()(Code) | | A set of attribute uses if it exists, otherwise an empty
XSObjectList .
|
getAttributeWildcard | public XSWildcard getAttributeWildcard()(Code) | | An attribute wildcard if it exists, otherwise null .
|
getContentType | public short getContentType()(Code) | | [content type]: one of empty (CONTENTTYPE_EMPTY ), a simple
type definition (CONTENTTYPE_SIMPLE ), mixed (
CONTENTTYPE_MIXED ), or element-only (
CONTENTTYPE_ELEMENT ).
|
getDerivationMethod | public short getDerivationMethod()(Code) | | [derivation method]: either DERIVATION_EXTENSION ,
DERIVATION_RESTRICTION , or DERIVATION_NONE
(see XSConstants ).
|
getParticle | public XSParticle getParticle()(Code) | | A particle for a mixed or element-only content model, otherwise
null .
|
getProhibitedSubstitutions | public short getProhibitedSubstitutions()(Code) | | [prohibited substitutions]: A subset of {extension, restriction} or
DERIVATION_NONE represented as a bit flag (see
XSConstants ).
|
getSimpleType | public XSSimpleTypeDefinition getSimpleType()(Code) | | A simple type definition corresponding to a simple content model,
otherwise null .
|
isProhibitedSubstitution | public boolean isProhibitedSubstitution(short restriction)(Code) | | [prohibited substitutions]: a subset of {extension, restriction}
Parameters: restriction - Extension or restriction constants (see XSConstants ). True if restriction is a prohibited substitution, otherwise false. |
|
|