|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.render.intermediate.AbstractIFDocumentHandler
org.apache.fop.render.intermediate.AbstractXMLWritingIFDocumentHandler
org.apache.fop.render.svg.AbstractSVGDocumentHandler
Abstract base class for SVG Painter implementations.
| Field Summary | |
protected FontInfo |
fontInfo
Font configuration |
protected IFState |
state
Holds the intermediate format state |
| Fields inherited from class org.apache.fop.render.intermediate.AbstractXMLWritingIFDocumentHandler |
handler, tFactory |
| Fields inherited from interface org.apache.fop.render.svg.SVGConstants |
FILE_EXTENSION_SVG, MIME_SVG_PRINT, MIME_TYPE, NAMESPACE, SVG_ELEMENT |
| Fields inherited from interface org.apache.fop.util.XMLConstants |
CDATA, XLINK_HREF, XLINK_NAMESPACE, XLINK_PREFIX, XML_NAMESPACE, XML_PREFIX, XML_SPACE, XMLNS_NAMESPACE_URI, XMLNS_PREFIX |
| Constructor Summary | |
AbstractSVGDocumentHandler()
|
|
| Method Summary | |
void |
endDocumentHeader()
Indicates the end of the document header. This method is called before the first page sequence. |
IFDocumentHandlerConfigurator |
getConfigurator()
Returns the configurator for this document handler, if any. |
FontInfo |
getFontInfo()
Returns the font set to work with. |
protected java.lang.String |
getMainNamespace()
Returns the main namespace used for generated XML content. |
void |
handleExtensionObject(java.lang.Object extension)
Handles an extension object. This can be a DOM document or any arbitrary object. If an implementation doesn't know how to handle a particular extension it is simply ignored. |
void |
setDefaultFontInfo(FontInfo fontInfo)
Sets the default font set (with no custom configuration). |
void |
setFontInfo(FontInfo fontInfo)
Sets the font set to work with. |
void |
startDocumentHeader()
Indicates the start of the document header. This method is called right after the IFDocumentHandler.startDocument() method. Extensions sent to this painter between
IFDocumentHandler.startDocumentHeader() and IFDocumentHandler.endDocumentHeader() apply to the document as
a whole (like document metadata). |
| Methods inherited from class org.apache.fop.render.intermediate.AbstractXMLWritingIFDocumentHandler |
createContentHandler, setResult |
| Methods inherited from class org.apache.fop.render.intermediate.AbstractIFDocumentHandler |
endDocumentTrailer, endPageHeader, endPageTrailer, getContext, getDocumentNavigationHandler, getUserAgent, setContext, startDocument, startDocumentTrailer, startPageHeader, startPageTrailer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.fop.render.intermediate.IFDocumentHandler |
endDocument, endPage, endPageContent, endPageSequence, getMimeType, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrder |
| Field Detail |
protected FontInfo fontInfo
protected IFState state
| Constructor Detail |
public AbstractSVGDocumentHandler()
| Method Detail |
protected java.lang.String getMainNamespace()
getMainNamespace in class AbstractXMLWritingIFDocumentHandlerpublic FontInfo getFontInfo()
getFontInfo in interface IFDocumentHandlerpublic void setFontInfo(FontInfo fontInfo)
setFontInfo in interface IFDocumentHandlerfontInfo - the font info objectpublic void setDefaultFontInfo(FontInfo fontInfo)
setDefaultFontInfo in interface IFDocumentHandlerfontInfo - the font info object to populatepublic IFDocumentHandlerConfigurator getConfigurator()
getConfigurator in interface IFDocumentHandler
public void startDocumentHeader()
throws IFException
IFDocumentHandler.startDocument() method. Extensions sent to this painter between
IFDocumentHandler.startDocumentHeader() and IFDocumentHandler.endDocumentHeader() apply to the document as
a whole (like document metadata).
startDocumentHeader in interface IFDocumentHandlerstartDocumentHeader in class AbstractIFDocumentHandlerIFException
public void endDocumentHeader()
throws IFException
endDocumentHeader in interface IFDocumentHandlerendDocumentHeader in class AbstractIFDocumentHandlerIFException
public void handleExtensionObject(java.lang.Object extension)
throws IFException
handleExtensionObject in interface IFDocumentHandlerextension - the extension object
IFException - if an error occurs while handling this event
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||