org.apache.servicemix.common.tools.wsdl
Class Schema

java.lang.Object
  extended by org.apache.servicemix.common.tools.wsdl.Schema

public class Schema
extends java.lang.Object

Contains informations related to a schema.

Author:
gnodet

Constructor Summary
Schema()
           
 
Method Summary
 void addImport(java.lang.String namespace)
           Adds a reference to an imported namespace.
 void addSourceUri(java.net.URI sourceUri)
           Add a new URI in the source URIs list.
 java.util.List<java.lang.String> getImports()
           Gets the imported namespaces list.
 java.lang.String getNamespace()
           Gets the default namespace.
 org.w3c.dom.Element getRoot()
           Gets the root element.
 java.util.List<java.net.URI> getSourceUris()
           Gets the source URIs list.
 void setImports(java.util.List<java.lang.String> imports)
           Sets the imported namespaces list.
 void setNamespace(java.lang.String namespace)
           Sets the default namespace.
 void setRoot(org.w3c.dom.Element root)
           Sets the root element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema

public Schema()
Method Detail

addImport

public void addImport(java.lang.String namespace)

Adds a reference to an imported namespace.

Parameters:
namespace - the namespace to reference

getImports

public java.util.List<java.lang.String> getImports()

Gets the imported namespaces list.

Returns:
Returns the imports.

setImports

public void setImports(java.util.List<java.lang.String> imports)

Sets the imported namespaces list.

Parameters:
imports - The imports to set.

getRoot

public org.w3c.dom.Element getRoot()

Gets the root element.

Returns:
Returns the root.

setRoot

public void setRoot(org.w3c.dom.Element root)

Sets the root element.

Parameters:
root - The root to set.

getNamespace

public java.lang.String getNamespace()

Gets the default namespace.

Returns:
Returns the namespace.

setNamespace

public void setNamespace(java.lang.String namespace)

Sets the default namespace.

Parameters:
namespace - The namespace to set.

getSourceUris

public java.util.List<java.net.URI> getSourceUris()

Gets the source URIs list.

Returns:
Returns the source URIs list.

addSourceUri

public void addSourceUri(java.net.URI sourceUri)

Add a new URI in the source URIs list.

Parameters:
sourceUri - The sourceUri to set.


Copyright © 2005-2012 FuseSource. All Rights Reserved.