|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
3.4.1 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
The content model type simple. |
Fields inherited from interface org.apache.xerces.impl.xs.psvi.XSTypeDefinition |
COMPLEX_TYPE, SIMPLE_TYPE |
Method Summary | |
XSObjectList |
getAnnotations()
{annotations} A set of annotations. |
XSObjectList |
getAttributeUses()
{attribute uses} A set of attribute uses. |
XSWildcard |
getAttributeWildcard()
{attribute wildcard} Optional. |
short |
getContentType()
{content type} One of empty, a simple type definition (see simpleType , or mixed, element-only (see
cmParticle ). |
short |
getDerivationMethod()
{derivation method} Either extension or restriction. |
boolean |
getIsAbstract()
{abstract} A boolean. |
boolean |
getIsProhibitedSubstitution(short prohibited)
{prohibited substitutions} A subset of {extension, restriction}. |
XSParticle |
getParticle()
A particle for mixed or element-only content model, otherwise null |
short |
getProhibitedSubstitutions()
{prohibited substitutions} |
XSSimpleTypeDefinition |
getSimpleType()
A simple type definition corresponding to simple content model, otherwise null |
Methods inherited from interface org.apache.xerces.impl.xs.psvi.XSTypeDefinition |
getBaseType, getFinal, getIsAnonymous, getIsFinal, getTypeCategory |
Methods inherited from interface org.apache.xerces.impl.xs.psvi.XSObject |
getName, getNamespace, 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()
XSConstants
EXTENTION, RESTRICTION.
public boolean getIsAbstract()
public XSObjectList getAttributeUses()
public XSWildcard getAttributeWildcard()
public short getContentType()
simpleType
, or mixed, element-only (see
cmParticle
).
public XSSimpleTypeDefinition getSimpleType()
null
public XSParticle getParticle()
null
public boolean getIsProhibitedSubstitution(short prohibited)
prohibited
- extention or restriction constants (defined in
XSConstants
).
public short getProhibitedSubstitutions()
public XSObjectList getAnnotations()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |