org.apache.ws.jaxme.xs.impl
Class XSTypeImpl.XSComplexTypeImpl
java.lang.Objectorg.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexTypeImpl
- XSTypeImpl
- XSComplexType
public abstract class XSTypeImpl.XSComplexTypeImpl
extends java.lang.Object
owner
protected final XSType owner
restrictedType
protected XSType restrictedType
getOwner
protected XSType getOwner()
hasComplexContent
public boolean hasComplexContent()
isAll
public boolean isAll()
isChoice
public boolean isChoice()
isElementOnly
public boolean isElementOnly()
throws SAXExceptionIf the element hasn't simple content: Returns whether the
elements content is elementOnly. Shortcut for
getComplexContentType().equals(ELEMENT_ONLY).
- isElementOnly in interface XSComplexType
isEmpty
public boolean isEmpty()
throws SAXExceptionIf the element hasn't simple content: Returns whether the
elements content is empty. Shortcut for
getComplexContentType().equals(EMPTY).
- isEmpty in interface XSComplexType
isExtension
public boolean isExtension()
throws SAXExceptionReturns whether the element is a extension of another element.
- isExtension in interface XSComplexType
isMixed
public boolean isMixed()
throws SAXExceptionIf the element hasn't simple content: Returns whether the
elements content is mixed. Shortcut for
getComplexContentType().equals(MIXED).
- isMixed in interface XSComplexType
isRestriction
public boolean isRestriction()
Returns whether the element is a restriction of another element.
- isRestriction in interface XSComplexType
isSequence
public boolean isSequence()
validate
public void validate()
throws SAXException