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

java.lang.Object
  extended byorg.apache.wsif.providers.jca.toolplugin.ImportResource
All Implemented Interfaces:
java.io.Serializable

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

This class represents a binary resource that may required for an Imported Service.

Author:
Hesham Fahmy
See Also:
Serialized Form

Constructor Summary
ImportResource()
           
 
Method Summary
 byte[] getContents()
          Returns the binary contents of the resource as a byte array.
 java.lang.String getLocation()
          Returns a String representation of the relative path where the resource should be saved.
 void setContents(byte[] contents)
          Sets the binary contents of the resource.
 void setLocation(java.lang.String location)
          Sets the relative path where the resource should be saved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportResource

public ImportResource()
Method Detail

getLocation

public java.lang.String getLocation()
Returns a String representation of the relative path where the resource 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 resource should be saved.


getContents

public byte[] getContents()
Returns the binary contents of the resource as a byte array.

Returns:
byte[] - the binary contents of the resource

setContents

public void setContents(byte[] contents)
Sets the binary contents of the resource.



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