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

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

public class Schema
extends Object

Contains informations related to a schema.

Author:
gnodet

Constructor Summary
Schema()
           
 
Method Summary
 void addImport(String namespace)
          Add a reference to an imported namespace.
 void addSourceUri(URI sourceUri)
           
 List<String> getImports()
           
 String getNamespace()
           
 Element getRoot()
           
 List<URI> getSourceUris()
           
 void setImports(List<String> imports)
           
 void setNamespace(String namespace)
           
 void setRoot(Element root)
           
 
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(String namespace)
Add a reference to an imported namespace.

Parameters:
namespace - the namespace to reference

getImports

public List<String> getImports()
Returns:
Returns the imports.

setImports

public void setImports(List<String> imports)
Parameters:
imports - The imports to set.

getRoot

public Element getRoot()
Returns:
Returns the root.

setRoot

public void setRoot(Element root)
Parameters:
root - The root to set.

getNamespace

public String getNamespace()
Returns:
Returns the namespace.

setNamespace

public void setNamespace(String namespace)
Parameters:
namespace - The namespace to set.

getSourceUris

public List<URI> getSourceUris()
Returns:
Returns the sourceUri.

addSourceUri

public void addSourceUri(URI sourceUri)
Parameters:
sourceUri - The sourceUri to set.


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.