fr.tireme.schemadoc.SDSchema
Interface SDSimpleType

All Superinterfaces:
SDConcreteComponent, SDSchemaContent
All Known Implementing Classes:
XSDSimpleTypeDefinitionWrapp

public interface SDSimpleType
extends SDSchemaContent

Author:
niemaz

Field Summary
static int PART_OF_ATTRIBUTE
           
static int PART_OF_BOTH
           
static int PART_OF_ELEMENT
           
 
Fields inherited from interface fr.tireme.schemadoc.SDSchema.SDSchemaContent
TYPE_ATTRIBUTE, TYPE_ATTRIBUTE_LABEL, TYPE_ATTRIBUTEGROUP, TYPE_ATTRIBUTEGROUP_LABEL, TYPE_COMPLEXTYPE, TYPE_COMPLEXTYPE_LABEL, TYPE_ELEMENT, TYPE_ELEMENT_LABEL, TYPE_GROUP, TYPE_GROUP_LABEL, TYPE_NOTATION, TYPE_NOTATION_LABEL, TYPE_SIMPLETYPE, TYPE_SIMPLETYPE_LABEL
 
Method Summary
 SDSimpleType getBaseTypeDefinition(SDSchema schema)
          Gets the base type definition
 java.util.Iterator getEnumerationContent()
           
 java.util.List getFacets()
          Gets the list of applied facets
 boolean isAnyType()
           
 boolean isDerived()
          Is this simpleType derived or not?
 boolean isEnumeration()
           
 boolean isList()
           
 boolean isSchemaForSchemaNamespace()
           
 boolean isUnion()
           
 
Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDSchemaContent
getName, getQName, getSchema, getTargetNamespace, getType, isGlobal
 
Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDConcreteComponent
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID
 

Field Detail

PART_OF_ELEMENT

static final int PART_OF_ELEMENT
See Also:
Constant Field Values

PART_OF_ATTRIBUTE

static final int PART_OF_ATTRIBUTE
See Also:
Constant Field Values

PART_OF_BOTH

static final int PART_OF_BOTH
See Also:
Constant Field Values
Method Detail

isAnyType

boolean isAnyType()

isEnumeration

boolean isEnumeration()

isList

boolean isList()

isUnion

boolean isUnion()

isDerived

boolean isDerived()
Is this simpleType derived or not?

Returns:
boolean - true if derived

getBaseTypeDefinition

SDSimpleType getBaseTypeDefinition(SDSchema schema)
Gets the base type definition

Parameters:
schema - - schema root
Returns:
SDSimpleType - base type

getFacets

java.util.List getFacets()
Gets the list of applied facets

Returns:
List - list of facets as string

getEnumerationContent

java.util.Iterator getEnumerationContent()

isSchemaForSchemaNamespace

boolean isSchemaForSchemaNamespace()