|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xfp.AttributeContainer
org.xfp.Filter
org.xfp.filters.xml.FOProcessor
Performs an XSL-FO trasformation using Apache FOP.
| Nested Class Summary |
| Nested classes inherited from class org.xfp.Filter |
Filter.OnErrorEnum, Filter.OnLoopErrorEnum |
| Field Summary |
| Fields inherited from class org.xfp.AttributeContainer |
name, parentContainer |
| Constructor Summary | |
FOProcessor()
|
|
| Method Summary | |
byte[] |
execute(org.xml.sax.InputSource in)
Executes this filter. |
byte[] |
execute(java.io.InputStream is)
Executes this filter. |
byte[] |
execute(java.io.Reader reader)
Executes this filter. |
byte[] |
execute(java.lang.String xml)
Executes this filter. |
void |
reset()
Resets filter status after execution. |
void |
setFormat(java.lang.String format)
Sets the MIME type of the format to generate ex. |
void |
setOption(java.lang.String key,
java.lang.String value)
Sets a configuration option. |
void |
setPDFOption(java.lang.String key,
java.lang.String value)
Sets a configuration option. |
| Methods inherited from class org.xfp.Filter |
getOnError, initialize, log, newInstance, perform, toString |
| Methods inherited from class org.xfp.AttributeContainer |
configureAttributes, disposeAttributes, getAttributes, getFullName, getName, initializeAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FOProcessor()
| Method Detail |
public byte[] execute(java.lang.String xml)
throws java.lang.Exception
xml - A String containing XSL-FO
java.lang.Exception
public byte[] execute(java.io.InputStream is)
throws java.lang.Exception
is - An InputStream containing XSL-FO
java.lang.Exception
public byte[] execute(java.io.Reader reader)
throws java.lang.Exception
reader - A Reader containing XSL-FO
java.lang.Exception
public byte[] execute(org.xml.sax.InputSource in)
throws java.lang.Exception
in - Any InputSource containing XSL-FO
java.lang.Exceptionpublic void reset()
Filter
reset in class FilterFilter.reset()public void setFormat(java.lang.String format)
format - The format to set
public void setOption(java.lang.String key,
java.lang.String value)
public void setPDFOption(java.lang.String key,
java.lang.String value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||