org.xmldb.api.modules

Interface BinaryResource

All Superinterfaces:
Resource
Known Implementing Classes:
BinaryResourceImpl, SimpleBinaryResource

public interface BinaryResource
extends Resource

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

The standard getContent method returns a byte[] and the standard setContent expects an byte[].

Field Summary

static String
RESOURCE_TYPE

Methods inherited from interface org.xmldb.api.base.Resource

getContent, getId, getParentCollection, getResourceType, setContent

Field Details

RESOURCE_TYPE

public static final String RESOURCE_TYPE