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, validatepublic XSTypeImpl.XSComplexContentImpl(XSType pOwner, XsTComplexType pType, XsEComplexContent pComplexContent) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected XsEComplexContent getComplexContent()
protected XSGroup getGroupByParticle(XsTTypeDefParticle pParticle) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected XsComplexContentType getContentTypeByParticle(XsTTypeDefParticle pParticle, XSGroup pGroup) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XSType getExtendedType() throws org.xml.sax.SAXException
XSComplexTypeIf the element is an extension: Returns the extended type.
getExtendedType in interface XSComplexTypegetExtendedType in class XSTypeImpl.XSComplexTypeImplorg.xml.sax.SAXExceptionpublic boolean isExtension()
throws org.xml.sax.SAXException
XSComplexTypeReturns whether the element is a extension of another element.
isExtension in interface XSComplexTypeisExtension in class XSTypeImpl.XSComplexTypeImplorg.xml.sax.SAXExceptionpublic boolean hasComplexContent()
hasComplexContent in class XSTypeImpl.XSComplexTypeImplpublic XsComplexContentType getComplexContentType() throws org.xml.sax.SAXException
XSComplexTypeIf the element hasn't simple content: Returns the element contents type.
org.xml.sax.SAXExceptionXsComplexContentType.EMPTY,
XsComplexContentType.ELEMENT_ONLY,
XsComplexContentType.MIXED,
XSComplexType.isEmpty(),
XSComplexType.isElementOnly(),
XSComplexType.isMixed()public XSParticle getParticle() throws org.xml.sax.SAXException
XSComplexTypeIf the element hasn't simple content: Returns the complex elements particle.
org.xml.sax.SAXExceptionpublic XSAttributable[] getAttributes() throws org.xml.sax.SAXException
XSComplexTypeReturns the complex types attributes.
org.xml.sax.SAXException