public interface XSComplexTypeDefinition extends XSTypeDefinition
| Modifier and Type | Field and Description | 
|---|---|
| static short | CONTENTTYPE_ELEMENTRepresents an element-only content type. | 
| static short | CONTENTTYPE_EMPTYRepresents an empty content type. | 
| static short | CONTENTTYPE_MIXEDRepresents a mixed content type. | 
| static short | CONTENTTYPE_SIMPLERepresents a simple content type. | 
COMPLEX_TYPE, SIMPLE_TYPE| Modifier and Type | Method and Description | 
|---|---|
| boolean | getAbstract()[abstract]: a boolean. | 
| XSObjectList | getAnnotations()A sequence of [annotations] or an empty  XSObjectList. | 
| XSObjectList | getAssertions()A sequence of [assertions] or 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, orDERIVATION_NONE(seeXSConstants). | 
| XSOpenContent | getOpenContent()An open content | 
| 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_NONErepresented as a bit flag (seeXSConstants). | 
| 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} | 
derivedFrom, derivedFromType, getAnonymous, getBaseType, getContext, getFinal, getTypeCategory, isFinalgetName, getNamespace, getNamespaceItem, getTypestatic final short CONTENTTYPE_EMPTY
static final short CONTENTTYPE_SIMPLE
static final short CONTENTTYPE_ELEMENT
static final short CONTENTTYPE_MIXED
short getDerivationMethod()
DERIVATION_EXTENSION, 
 DERIVATION_RESTRICTION, or DERIVATION_NONE 
 (see XSConstants).boolean getAbstract()
abstract is 
 true must not be used as the type definition for the validation of 
 element information items.XSObjectList getAttributeUses()
XSObjectList.XSWildcard getAttributeWildcard()
null.short getContentType()
CONTENTTYPE_EMPTY), a simple 
 type definition (CONTENTTYPE_SIMPLE), mixed (
 CONTENTTYPE_MIXED), or element-only (
 CONTENTTYPE_ELEMENT).XSSimpleTypeDefinition getSimpleType()
null.XSParticle getParticle()
null.boolean isProhibitedSubstitution(short restriction)
restriction - Extension or restriction constants (see 
   XSConstants).restriction is a prohibited substitution, 
   otherwise false.short getProhibitedSubstitutions()
DERIVATION_NONE represented as a bit flag (see 
 XSConstants).XSObjectList getAnnotations()
XSObjectList.XSOpenContent getOpenContent()
XSObjectList getAssertions()
XSObjectList.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.