org.xmldb.api.sdk.modules
public abstract class SimpleBinaryResource extends BaseResource implements BinaryResource
Field Summary | |
---|---|
protected byte[] | content |
Constructor Summary | |
---|---|
SimpleBinaryResource(Collection parent, String id)
Create a new BinaryResource without any content. | |
SimpleBinaryResource(Collection parent, String id, byte[] content)
Create a fully initialized BinaryResource |
Method Summary | |
---|---|
Object | getContent()
Retrieves the content from the resource. |
String | getResourceType()
Returns the resource type for this Resource.
|
void | setContent(Object value)
Sets the content for this resource. |
Returns: the content of the resource.
Returns: the resource type for the Resource.
Parameters: value the content value to set for the resource.