|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the Complex Type Definition schema component.
Field Summary | |
static short |
CONTENTTYPE_ELEMENT
Represents an element-only content type. |
static short |
CONTENTTYPE_EMPTY
Represents an empty content type. |
static short |
CONTENTTYPE_MIXED
Represents a mixed content type. |
static short |
CONTENTTYPE_SIMPLE
Represents a simple content type. |
Fields inherited from interface org.apache.xerces.xs.XSTypeDefinition |
COMPLEX_TYPE, SIMPLE_TYPE |
Method Summary | |
boolean |
getAbstract()
[abstract]: a boolean. |
XSObjectList |
getAnnotations()
A set of [annotations] if it exists, otherwise an empty XSObjectList . |
XSObjectList |
getAttributeUses()
A set of attribute uses if it exists, otherwise an empty XSObjectList . |
XSWildcard |
getAttributeWildcard()
An attribute wildcard if it exists, otherwise null . |
short |
getContentType()
[content type]: one of empty ( CONTENTTYPE_EMPTY ), a simple
type definition (CONTENTTYPE_SIMPLE ), mixed (
CONTENTTYPE_MIXED ), or element-only (
CONTENTTYPE_ELEMENT ). |
short |
getDerivationMethod()
[derivation method]: either DERIVATION_EXTENSION ,
DERIVATION_RESTRICTION , or DERIVATION_NONE
(see XSConstants ). |
XSParticle |
getParticle()
A particle for a mixed or element-only content model, otherwise null . |
short |
getProhibitedSubstitutions()
[prohibited substitutions]: A subset of {extension, restriction} or DERIVATION_NONE represented as a bit flag (see
XSConstants ). |
XSSimpleTypeDefinition |
getSimpleType()
A simple type definition corresponding to a simple content model, otherwise null . |
boolean |
isProhibitedSubstitution(short restriction)
[prohibited substitutions]: a subset of {extension, restriction} |
Methods inherited from interface org.apache.xerces.xs.XSTypeDefinition |
derivedFrom, derivedFromType, getAnonymous, getBaseType, getFinal, getTypeCategory, isFinal |
Methods inherited from interface org.apache.xerces.xs.XSObject |
getName, getNamespace, getNamespaceItem, getType |
Field Detail |
public static final short CONTENTTYPE_EMPTY
public static final short CONTENTTYPE_SIMPLE
public static final short CONTENTTYPE_ELEMENT
public static final short CONTENTTYPE_MIXED
Method Detail |
public short getDerivationMethod()
DERIVATION_EXTENSION
,
DERIVATION_RESTRICTION
, or DERIVATION_NONE
(see XSConstants
).public boolean getAbstract()
abstract
is
true must not be used as the type definition for the validation of
element information items.public XSObjectList getAttributeUses()
XSObjectList
.public XSWildcard getAttributeWildcard()
null
.public short getContentType()
CONTENTTYPE_EMPTY
), a simple
type definition (CONTENTTYPE_SIMPLE
), mixed (
CONTENTTYPE_MIXED
), or element-only (
CONTENTTYPE_ELEMENT
).public XSSimpleTypeDefinition getSimpleType()
null
.public XSParticle getParticle()
null
.public boolean isProhibitedSubstitution(short restriction)
restriction
- Extension or restriction constants (see
XSConstants
).restriction
is a prohibited substitution,
otherwise false.public short getProhibitedSubstitutions()
DERIVATION_NONE
represented as a bit flag (see
XSConstants
).public XSObjectList getAnnotations()
XSObjectList
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |