org.apache.wsif.providers.jca.toolplugin
Class ImportXSD

java.lang.Object
  extended by org.apache.wsif.providers.jca.toolplugin.ImportXSD
All Implemented Interfaces:
java.io.Serializable

public class ImportXSD
extends java.lang.Object
implements java.io.Serializable

This class represents an XSD definition that may be required for an Imported Service. The Resource Adapter does not need to implement this class if it returns XSD types inlined within Definition.

Author:
Hesham Fahmy , Piotr Przybylski
See Also:
Serialized Form

Constructor Summary
ImportXSD()
           
 
Method Summary
 java.lang.String getLocation()
          Returns a String representation of the relative path where the XSD should be saved.
 java.lang.String getNamespace()
          Returns the namespace that is associated with the XSD definition
 java.lang.String getSource()
          Gets the contents of the XSD definiton
 void setLocation(java.lang.String location)
          Sets the relative path where the XSD should be saved.
 void setNamespace(java.lang.String namespace)
          Sets the namespace that is associated with the XSD definition
 void setSource(java.lang.String source)
          Sets the contents of the XSD definiton.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportXSD

public ImportXSD()
Method Detail

getNamespace

public java.lang.String getNamespace()
Returns the namespace that is associated with the XSD definition

Returns:
Returns a String representation of the namespace

setNamespace

public void setNamespace(java.lang.String namespace)
Sets the namespace that is associated with the XSD definition

Parameters:
namespace - The namespace to set

getLocation

public java.lang.String getLocation()
Returns a String representation of the relative path where the XSD should be saved. The path is relative to the location of the WSDL document that represents the imported service.

Returns:
Returns a String

setLocation

public void setLocation(java.lang.String location)
Sets the relative path where the XSD should be saved.

Parameters:
location - The location to set

getSource

public java.lang.String getSource()
Gets the contents of the XSD definiton

Returns:
Returns a String representation of the contents of the XSD

setSource

public void setSource(java.lang.String source)
Sets the contents of the XSD definiton.

Parameters:
source - The XSD source to set


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.