javax.wsdl.extensions.schema
Interface Schema
- ExtensibilityElement, Serializable
- SchemaImpl
Represents a schema element.
This is a lightweight schema wrapper that provides access to
the schema DOM element, but does not parse the schema details.
The implementor may provide alternative schema parsing if required.
addImport
public void addImport(SchemaImport importSchema)
Add an import to this LightWeightSchema
importSchema
- the import to be added
addInclude
public void addInclude(SchemaReference includeSchema)
Add an include to this LightWeightSchema
includeSchema
- The include to be added, represented as a SchemaReference
addRedefine
public void addRedefine(SchemaReference redefineSchema)
Add a redefine to this LightWeightSchema
redefineSchema
- The redefine to be added, represented as a SchemaReference
createImport
public SchemaImport createImport()
Create a new schema import
- the newly created schema import
createInclude
public SchemaReference createInclude()
Create a new schema reference to represent an include.
- the newly created SchemaReference
createRedefine
public SchemaReference createRedefine()
Create a new schema reference to represent a redefine.
- the newly created SchemaReference
getDocumentBaseURI
public String getDocumentBaseURI()
Get the document base URI of this schema
getElement
public Element getElement()
Get the DOM Element that represents this schema element.
- the DOM element representing this schema
getImports
public Map getImports()
Get a map of lists containing all the imports defined here.
The map's keys are the namespaceURIs, and the map's values
are lists. There is one list for each namespaceURI for which
imports have been defined.
- a map of lists of schema imports
getIncludes
public List getIncludes()
Get a list containing all of the includes defined here.
The list elements are schema references.
- a list of schema references.
getRedefines
public List getRedefines()
Get a list containing all of the redefines defined here.
The list elements are schema references.
- a list of schema references.
setDocumentBaseURI
public void setDocumentBaseURI(String documentBaseURI)
Set the document base URI of this schema definition. Can be used to
represent the origin of the schema, and can be exploited
when resolving relative URIs (e.g. in <import>s).
documentBaseURI
- the document base URI of this schema
setElement
public void setElement(Element element)
Set the DOM Element that represents this schema element.
element
- the DOM element representing this schema
Copyright B) 2003,2006 IBM. All Rights Reserved.