|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.lunasil.xf.XincEngine
The low level Xinc Formatting API. This API is useful if you need to generate documents using a SAX ContentHandler. For instance, if you want to use SAX XMLFilter's you will need to use this API to get the ContentHandler from Xinc.
| Constructor Summary | |
XincEngine()
Default Constructor. |
|
| Method Summary | |
ContentHandler |
createContentHandler()
Create a ContentHandler. |
URL |
getBaseUrl()
Get the current Base URL. |
Document |
getConfiguration()
Get the current Configuration. |
static org.apache.commons.logging.Log |
getLogger()
Get the Log instance currently in effect for Xinc. |
OutputStream |
getOutputStream()
Get the current OutputStream. |
String |
getRenderer()
Returns the current Renderer setting. |
static com.lunasil.xf.common.Version |
getVersion()
|
void |
setBaseUrl(URL baseUrl)
Set the base URL. |
void |
setConfiguration(Document configuration)
Set the Configuration to be used when formatting documents using this instance of XincEngine. |
static void |
setLicenseText(String licenseText)
Used to programmatically set the license to be used by the formatter. |
static void |
setLogger(org.apache.commons.logging.Log log)
Set the Log instance currently in effect for Xinc. |
void |
setOutputStream(OutputStream outputStream)
Set the OutputStream to which the PDF document will be written. |
void |
setRenderer(String renderer)
Sets the current Renderer. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XincEngine()
| Method Detail |
public static com.lunasil.xf.common.Version getVersion()
public String getRenderer()
public void setRenderer(String renderer)
renderer - A String which indicates the current Renderer.public void setBaseUrl(URL baseUrl)
baseUrl -
public ContentHandler createContentHandler()
throws XincException
XincExceptionpublic static void setLicenseText(String licenseText)
licenseText - public static void setLogger(org.apache.commons.logging.Log log)
log - The new Log.public static org.apache.commons.logging.Log getLogger()
public OutputStream getOutputStream()
public void setOutputStream(OutputStream outputStream)
outputStream - The outputStream to set.
public Document getConfiguration()
throws XincException
XincExceptionpublic void setConfiguration(Document configuration)
configuration - The configuration to set.public URL getBaseUrl()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||