fr.tireme.schemadoc.SDSchema
Interface SDSchema

All Superinterfaces:
SDConcreteComponent
All Known Implementing Classes:
XSDSchemaWrapp

public interface SDSchema
extends SDConcreteComponent

Author:
Mike Niemaz (niemaz@xrce.xerox.com)

Method Summary
 java.util.Iterator eAllContents()
           
 java.util.List getAllAnnotations()
          Gets all annotations contained in this schema and its possible childs (includes & imports)
 java.util.List getAllAttributeDeclarations()
          Gets all attribute declarations contained in this schema and its possible childs (includes & imports)
 java.util.List getAllAttributeGroupDefinitions()
          Gets all attribute group definitions contained in this schema and its possible childs (includes & imports)
 java.util.List getAllElementDeclarations()
          Gets all element declarations contained in this schema and its possible childs (includes & imports)
 java.util.List getAllModelGroupDefinitions()
          Gets all model groups contained in this schema and its possible childs (includes & imports)
 java.util.List getAllNotationDeclarations()
          Gets all notations contained in this schema and its possible childs (includes & imports)
 java.util.List getAllTypeDefinitions()
          Gets all types contained in this schema and its possible childs (includes & imports)
 java.lang.String getAttributeFormDefault()
           
 java.lang.String getAttributeValue(java.lang.String attr_)
           
 java.util.List getContents()
           
 SDConcreteComponent getCorrespondingComponent(org.w3c.dom.Node node)
           
 java.lang.String getElementFormDefault()
           
 java.lang.String getIncludeLocalEntryPoint(java.lang.String schemaID)
          Search for the local include that would include the schema represented by the given ID
 SDConcreteComponent getObject(java.lang.String id_)
           
 java.util.Map getQNamePrefixToNamespaceMap()
           
 java.lang.String getSchemaErrors()
           
 java.lang.String getSchemaLocation()
           
 java.util.Hashtable getSDProperties()
           
 java.lang.String getSDPublicName()
           
 java.lang.String getTargetNamespace()
           
 boolean isIncluded(java.lang.String schemaID)
          Search matching includes
 SDConcreteComponent resolve(java.lang.String name)
           
 SDConcreteComponent resolve(java.lang.String name, java.lang.String namespace)
           
 
Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDConcreteComponent
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID
 

Method Detail

getContents

java.util.List getContents()

eAllContents

java.util.Iterator eAllContents()

isIncluded

boolean isIncluded(java.lang.String schemaID)
                   throws Xs2dtdException
Search matching includes

Parameters:
schemaID - - include's ID to search
Returns:
boolean - true if found
Throws:
Xs2dtdException

getIncludeLocalEntryPoint

java.lang.String getIncludeLocalEntryPoint(java.lang.String schemaID)
                                           throws Xs2dtdException
Search for the local include that would include the schema represented by the given ID

Parameters:
schemaID - - schema's ID to search
Returns:
boolean - true if found
Throws:
Xs2dtdException

getSchemaLocation

java.lang.String getSchemaLocation()

getTargetNamespace

java.lang.String getTargetNamespace()

getAttributeFormDefault

java.lang.String getAttributeFormDefault()

getElementFormDefault

java.lang.String getElementFormDefault()

getQNamePrefixToNamespaceMap

java.util.Map getQNamePrefixToNamespaceMap()

getSDPublicName

java.lang.String getSDPublicName()

getSDProperties

java.util.Hashtable getSDProperties()

getAttributeValue

java.lang.String getAttributeValue(java.lang.String attr_)

getObject

SDConcreteComponent getObject(java.lang.String id_)

getCorrespondingComponent

SDConcreteComponent getCorrespondingComponent(org.w3c.dom.Node node)

resolve

SDConcreteComponent resolve(java.lang.String name)

resolve

SDConcreteComponent resolve(java.lang.String name,
                            java.lang.String namespace)

getSchemaErrors

java.lang.String getSchemaErrors()

getAllAnnotations

java.util.List getAllAnnotations()
Gets all annotations contained in this schema and its possible childs (includes & imports)

Returns:
List - list

getAllAttributeDeclarations

java.util.List getAllAttributeDeclarations()
Gets all attribute declarations contained in this schema and its possible childs (includes & imports)

Returns:
List - list

getAllAttributeGroupDefinitions

java.util.List getAllAttributeGroupDefinitions()
Gets all attribute group definitions contained in this schema and its possible childs (includes & imports)

Returns:
List - list

getAllElementDeclarations

java.util.List getAllElementDeclarations()
Gets all element declarations contained in this schema and its possible childs (includes & imports)

Returns:
List - list

getAllModelGroupDefinitions

java.util.List getAllModelGroupDefinitions()
Gets all model groups contained in this schema and its possible childs (includes & imports)

Returns:
List - list

getAllNotationDeclarations

java.util.List getAllNotationDeclarations()
Gets all notations contained in this schema and its possible childs (includes & imports)

Returns:
List - list

getAllTypeDefinitions

java.util.List getAllTypeDefinitions()
Gets all types contained in this schema and its possible childs (includes & imports)

Returns:
List - list