public class XSTypeImpl.XSComplexContentImpl extends XSTypeImpl.XSComplexTypeImpl
restrictedType
Constructor and Description |
---|
XSTypeImpl.XSComplexContentImpl(XSType pOwner,
XsTComplexType pType,
XsEComplexContent pComplexContent) |
Modifier and Type | Method and Description |
---|---|
XSAttributable[] |
getAttributes()
Returns the complex types attributes.
|
protected XsEComplexContent |
getComplexContent() |
XsComplexContentType |
getComplexContentType()
If the element hasn't simple content: Returns the element contents
type.
|
protected XsComplexContentType |
getContentTypeByParticle(XsTTypeDefParticle pParticle,
XSGroup pGroup) |
XSType |
getExtendedType()
If the element is an extension: Returns the extended type.
|
protected XSGroup |
getGroupByParticle(XsTTypeDefParticle pParticle) |
XSParticle |
getParticle()
If the element hasn't simple content: Returns the complex
elements particle.
|
boolean |
hasComplexContent() |
boolean |
isExtension()
Returns whether the element is a extension of another element.
|
getOwner, getRestrictedType, getSimpleContent, getXsTComplexType, hasSimpleContent, isAll, isChoice, isElementOnly, isEmpty, isMixed, isRestriction, isSequence, validate
public XSTypeImpl.XSComplexContentImpl(XSType pOwner, XsTComplexType pType, XsEComplexContent pComplexContent) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected XsEComplexContent getComplexContent()
protected XSGroup getGroupByParticle(XsTTypeDefParticle pParticle) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected XsComplexContentType getContentTypeByParticle(XsTTypeDefParticle pParticle, XSGroup pGroup) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public XSType getExtendedType() throws org.xml.sax.SAXException
XSComplexType
If the element is an extension: Returns the extended type.
getExtendedType
in interface XSComplexType
getExtendedType
in class XSTypeImpl.XSComplexTypeImpl
org.xml.sax.SAXException
public boolean isExtension() throws org.xml.sax.SAXException
XSComplexType
Returns whether the element is a extension of another element.
isExtension
in interface XSComplexType
isExtension
in class XSTypeImpl.XSComplexTypeImpl
org.xml.sax.SAXException
public boolean hasComplexContent()
hasComplexContent
in class XSTypeImpl.XSComplexTypeImpl
public XsComplexContentType getComplexContentType() throws org.xml.sax.SAXException
XSComplexType
If the element hasn't simple content: Returns the element contents type.
org.xml.sax.SAXException
XsComplexContentType.EMPTY
,
XsComplexContentType.ELEMENT_ONLY
,
XsComplexContentType.MIXED
,
XSComplexType.isEmpty()
,
XSComplexType.isElementOnly()
,
XSComplexType.isMixed()
public XSParticle getParticle() throws org.xml.sax.SAXException
XSComplexType
If the element hasn't simple content: Returns the complex elements particle.
org.xml.sax.SAXException
public XSAttributable[] getAttributes() throws org.xml.sax.SAXException
XSComplexType
Returns the complex types attributes.
org.xml.sax.SAXException