org.xmldb.api.reference.modules

Class BinaryResourceImpl

Implemented Interfaces:
BinaryResource, Resource

public class BinaryResourceImpl
extends SimpleBinaryResource
implements BinaryResource

Resource for encapsulation of binary data that is stored in the data base. Support for BinaryResources is optional.

Field Summary

Fields inherited from class org.xmldb.api.sdk.modules.SimpleBinaryResource

content

Fields inherited from class org.xmldb.api.sdk.modules.BaseResource

content, id, parent

Fields inherited from interface org.xmldb.api.modules.BinaryResource

RESOURCE_TYPE

Constructor Summary

BinaryResourceImpl(Collection parent, String id)
BinaryResourceImpl(Collection parent, String id, byte[] content)

Method Summary

Methods inherited from class org.xmldb.api.sdk.modules.SimpleBinaryResource

getContent, getResourceType, setContent

Methods inherited from class org.xmldb.api.sdk.modules.BaseResource

getId, getParentCollection

Constructor Details

BinaryResourceImpl

public BinaryResourceImpl(Collection parent,
                          String id)

BinaryResourceImpl

public BinaryResourceImpl(Collection parent,
                          String id,
                          byte[] content)