com.ebmwebsourcing.commons.schema.impl
Class Schema

java.lang.Object
  extended by com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement<E>
      extended by com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchema<Schema>
          extended by com.ebmwebsourcing.commons.schema.impl.Schema
All Implemented Interfaces:
Schema, SchemaElement, java.io.Serializable

public class Schema
extends AbstractSchema<Schema>
implements Schema

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchema
attributes, baseURI, document, elements, features, imports, includes, namespaceContext, schemaLocations, types
 
Fields inherited from class com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement
documentation, model
 
Constructor Summary
Schema(java.net.URI baseURI, Schema schema, org.jdom.Document doc, java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features)
           
 
Method Summary
 java.lang.String getTargetNamespace()
           
 Import removeImport(Import importDef)
          Remove an import from this schema.
 Include removeInclude(Include includeDef)
          Remove an include from this schema.
 
Methods inherited from class com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchema
addAttribute, addElement, addImport, addImportElementsInAllList, addInclude, addIncludeElementsInAllList, addType, getAllNamespaces, getAttribute, getAttributes, getDocument, getDocumentBaseURI, getElement, getElements, getFeatures, getImports, getImports, getIncludes, getIncludes, getSchemaLocation, getType, getTypes, setDocumentBaseURI, setFeatures, toString
 
Methods inherited from class com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement
createDocumentation, getDocumentation, getModel, setDocumentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.commons.schema.api.Schema
addAttribute, addElement, addImport, addInclude, addType, getAllNamespaces, getAttribute, getAttributes, getDocumentBaseURI, getElement, getElements, getImports, getImports, getIncludes, getIncludes, getSchemaLocation, getType, getTypes, setDocumentBaseURI
 
Methods inherited from interface com.ebmwebsourcing.commons.schema.api.SchemaElement
createDocumentation, getDocumentation, setDocumentation
 

Constructor Detail

Schema

public Schema(java.net.URI baseURI,
              Schema schema,
              org.jdom.Document doc,
              java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features)
       throws SchemaException
Throws:
SchemaException
Method Detail

getTargetNamespace

public java.lang.String getTargetNamespace()
Specified by:
getTargetNamespace in interface Schema

removeImport

public Import removeImport(Import importDef)
Description copied from interface: Schema
Remove an import from this schema.

Specified by:
removeImport in interface Schema
Parameters:
importDef - the import to be removed
Returns:
the removed Import

removeInclude

public Include removeInclude(Include includeDef)
                      throws SchemaException
Description copied from interface: Schema
Remove an include from this schema.

Specified by:
removeInclude in interface Schema
Parameters:
includeDef - the include to be removed
Returns:
the removed include
Throws:
SchemaException


Copyright © 2008 eBM WebSourcing. All Rights Reserved.