org.gxml.xs
Interface SmContentType<A,S>


public interface SmContentType<A,S>


Method Summary
 SmModelGroupUse<A,S> getContentModel()
          Returns the content model (i.e.
 SmContentTypeKind getKind()
          Returns the kind of this content type object.
 SmSimpleType<A,S> getSimpleType()
          Returns a simple type definition when the kind part is SmContentTypeKind.Simple.
 boolean isComplex()
          Returns true if the {content type} property is Complex (Mixed or Element Only).
 boolean isElementOnly()
          Returns true if the {content type} property is Element Only.
 boolean isEmpty()
          Returns true if the {content type} property is Empty.
 boolean isMixed()
          Returns true if the {content type} property is Mixed.
 boolean isSimple()
          Returns true if the {content type} property is Simple.
 

Method Detail

getContentModel

SmModelGroupUse<A,S> getContentModel()
Returns the content model (i.e. a Particle) part of the {content type} property.
This is only valid when the kind part of the {content type} property is mixed or element-only.


getKind

SmContentTypeKind getKind()
Returns the kind of this content type object.


getSimpleType

SmSimpleType<A,S> getSimpleType()
Returns a simple type definition when the kind part is SmContentTypeKind.Simple.


isComplex

boolean isComplex()
Returns true if the {content type} property is Complex (Mixed or Element Only).


isElementOnly

boolean isElementOnly()
Returns true if the {content type} property is Element Only.


isEmpty

boolean isEmpty()
Returns true if the {content type} property is Empty.


isMixed

boolean isMixed()
Returns true if the {content type} property is Mixed.


isSimple

boolean isSimple()
Returns true if the {content type} property is Simple.



Copyright © 2009 TIBCO Software Inc. All Rights Reserved.