|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexTypeImpl
org.apache.ws.jaxme.xs.impl.XSTypeImpl.XSSimpleContentImpl
public class XSTypeImpl.XSSimpleContentImpl
Field Summary |
---|
Fields inherited from class org.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexTypeImpl |
---|
extendedType, owner, restrictedType |
Constructor Summary | |
---|---|
XSTypeImpl.XSSimpleContentImpl(XSType pOwner,
XsTComplexType pType,
XsESimpleContent pSimpleContent)
|
Method Summary | |
---|---|
XSAttributable[] |
getAttributes()
Returns the complex types attributes. |
XSParticle |
getParticle()
If the element hasn't simple content: Returns the complex elements particle. |
XSSimpleContentType |
getSimpleContent()
If the complex type has simple content, returns the contents type. |
boolean |
hasSimpleContent()
Returns whether the complex type has simple content. |
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSTypeImpl.XSComplexTypeImpl |
---|
getComplexContentType, getExtendedType, getOwner, getRestrictedType, getXsTComplexType, hasComplexContent, isAll, isChoice, isElementOnly, isEmpty, isExtension, isMixed, isRestriction, isSequence, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSTypeImpl.XSSimpleContentImpl(XSType pOwner, XsTComplexType pType, XsESimpleContent pSimpleContent) throws org.xml.sax.SAXException
org.xml.sax.SAXException
Method Detail |
---|
public boolean hasSimpleContent()
XSComplexType
Returns whether the complex type has simple content. If so,
you may use the method XSComplexType.getSimpleContent()
to fetch the
simple contents type. If not, you may use
XSComplexType.getComplexContentType()
, XSComplexType.isEmpty()
,
XSComplexType.isElementOnly()
, XSComplexType.isMixed()
, and
XSComplexType.getParticle()
. The method XSComplexType.getAttributes()
is always valid.
hasSimpleContent
in interface XSComplexType
hasSimpleContent
in class XSTypeImpl.XSComplexTypeImpl
public XSSimpleContentType getSimpleContent()
XSComplexType
If the complex type has simple content, returns the contents type. This is, of course, a simple type.
getSimpleContent
in interface XSComplexType
getSimpleContent
in class XSTypeImpl.XSComplexTypeImpl
public XSAttributable[] getAttributes()
XSComplexType
Returns the complex types attributes.
public XSParticle getParticle()
XSComplexType
If the element hasn't simple content: Returns the complex elements particle.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |