org.apache.ws.jaxme.xs
Interface XSComplexType
- XSAnyType, XSTypeImpl.XSAllComplexTypeImpl, XSTypeImpl.XSBasicComplexTypeImpl, XSTypeImpl.XSChoiceComplexTypeImpl, XSTypeImpl.XSComplexContentImpl, XSTypeImpl.XSComplexTypeImpl, XSTypeImpl.XSGroupComplexTypeImpl, XSTypeImpl.XSSequenceComplexTypeImpl, XSTypeImpl.XSSimpleContentImpl
public interface XSComplexType
Details of a complex type.
getAttributes
public XSAttributable[] getAttributes()
Returns the complex types attributes.
getComplexContentType
public XsComplexContentType getComplexContentType()
If the element hasn't simple content: Returns the element contents
type.
getExtendedType
public XSType getExtendedType()
If the element is an extension: Returns the extended type.
getParticle
public XSParticle getParticle()
If the element hasn't simple content: Returns the complex
elements particle.
getRestrictedType
public XSType getRestrictedType()
If the element is an restriction: Returns the restricted type.
getSimpleContent
public XSSimpleContentType getSimpleContent()
If the complex type has simple content, returns the contents
type. This is, of course, a simple type.
hasSimpleContent
public boolean hasSimpleContent()
isElementOnly
public boolean isElementOnly()
If the element hasn't simple content: Returns whether the
elements content is elementOnly. Shortcut for
getComplexContentType().equals(ELEMENT_ONLY)
.
isEmpty
public boolean isEmpty()
If the element hasn't simple content: Returns whether the
elements content is empty. Shortcut for
getComplexContentType().equals(EMPTY)
.
isExtension
public boolean isExtension()
Returns whether the element is a extension of another element.
isMixed
public boolean isMixed()
If the element hasn't simple content: Returns whether the
elements content is mixed. Shortcut for
getComplexContentType().equals(MIXED)
.
isRestriction
public boolean isRestriction()
Returns whether the element is a restriction of another element.