org.apache.wsif.providers.jca.toolplugin
Class ImportResource
java.lang.Object
|
+--org.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
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 |
ImportResource
public ImportResource()
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.
- Parameters:
location
- The location to set
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.
- Parameters:
contents
- The byte array to set.
Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.