public abstract class DefaultRenderingResult extends Object implements RenderingResult
Modifier and Type | Method and Description |
---|---|
<E> E |
getAdapter(Class<E> adapter)
Returns an object which is an instance of the given class associated with this object.
|
String |
getFormatName()
Gets the format name of the result.
|
abstract Object |
getOutcome()
Gets the rendering result object.
|
InputStream |
getStream()
Gets the rendering result as a stream.
|
public String getFormatName()
RenderingResult
getFormatName
in interface RenderingResult
public abstract Object getOutcome()
RenderingResult
getOutcome
in interface RenderingResult
public InputStream getStream()
RenderingResult
getStream
in interface RenderingResult
public <E> E getAdapter(Class<E> adapter)
Adaptable
null
if no such object can be found.getAdapter
in interface Adaptable
adapter
- the adapter class to look upnull
if this object does not have an adapter for
the given classCopyright © 2015 Nuxeo SA. All rights reserved.