public class BinaryPropertyReader extends ServiceableReader
Reader
for exposing a binary property from a JCR repository.mime-type
.Modifier and Type | Field and Description |
---|---|
private Node |
_node |
private Property |
_property |
protected RepositoryProvider |
_repositoryProvider
The repository provider.
|
manager
objectModel, out, parameters, resolver, source
Constructor and Description |
---|
BinaryPropertyReader() |
Modifier and Type | Method and Description |
---|---|
private String |
_getName() |
void |
generate() |
String |
getMimeType() |
void |
service(ServiceManager serviceManager) |
void |
setup(SourceResolver res,
Map objModel,
String src,
Parameters par) |
getLastModified, recycle, setOutputStream, shouldSetContentLength
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected RepositoryProvider _repositoryProvider
public BinaryPropertyReader()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableReader
ServiceException
public void setup(SourceResolver res, Map objModel, String src, Parameters par) throws ProcessingException, SAXException, IOException
setup
in interface SitemapModelComponent
setup
in class AbstractReader
ProcessingException
SAXException
IOException
public String getMimeType()
getMimeType
in interface SitemapOutputComponent
getMimeType
in class AbstractReader
private String _getName() throws RepositoryException
RepositoryException
public void generate() throws IOException, SAXException, ProcessingException