|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.content.TextContentFactoryModule
The TextContentFactoryModule creates plain text content from the given element. The content type of the used element should be "text/plain".
| Constructor Summary | |
TextContentFactoryModule()
creates a new TextContentFactoryModule. |
|
| Method Summary | |
boolean |
canHandleContent(java.lang.String contentType)
Returns true if the module can handle the specified content type, and
false otherwise. |
Content |
createContentForElement(Element e,
ElementLayoutInformation bounds,
LayoutSupport ot)
Creates a content wrapper for the element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextContentFactoryModule()
| Method Detail |
public boolean canHandleContent(java.lang.String contentType)
true if the module can handle the specified content type, and
false otherwise. This implementation is able to handle the type
"text/plain".
canHandleContent in interface ContentFactoryModulecontentType - the content type.
true or false.
public Content createContentForElement(Element e,
ElementLayoutInformation bounds,
LayoutSupport ot)
throws ContentCreationException
createContentForElement in interface ContentFactoryModulee - the element.bounds - the bounds.ot - the output target.
ContentCreationException - if there is a problem creating the content.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||