|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.targets.pageable.operations.OperationFactory
The OperationFactory is used to transform content into OutputTarget operations.
OutputTarget
,
Content
Constructor Summary | |
OperationFactory()
Default constructor. |
Method Summary | |
boolean |
canHandleContent(java.lang.String contentType)
Tests, whether this implementation would be able to handle the given content type. |
void |
createOperations(PhysicalOperationsCollector col,
Element e,
Content value,
java.awt.geom.Rectangle2D bounds)
Creates the required Operations to output the content on an OutputTarget. |
OperationModule |
getModule(java.lang.String content)
Returns the first module in the factory that can handle the specified content. |
void |
registerModule(OperationModule module)
Registered a module with the factory. |
void |
unregisterModule(OperationModule module)
Deregisters a module with the factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OperationFactory()
Method Detail |
public void registerModule(OperationModule module)
module
- the module.public void unregisterModule(OperationModule module)
module
- the module.public OperationModule getModule(java.lang.String content) throws OutputTargetException
content
- the content type.
OutputTargetException
- if no module was found for the given content.public boolean canHandleContent(java.lang.String contentType)
contentType
- the to be tested content type.
public void createOperations(PhysicalOperationsCollector col, Element e, Content value, java.awt.geom.Rectangle2D bounds) throws OutputTargetException
e
- the element that contained the raw data for the content.value
- the content that should be printed.bounds
- the content bounds.col
- the operations collector for the ops.
OutputTargetException
- if this factory is not able to handle that content.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |