|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.transcoder.TranscoderSupport
org.apache.batik.transcoder.AbstractTranscoder
org.apache.batik.transcoder.XMLAbstractTranscoder
org.apache.batik.transcoder.SVGAbstractTranscoder
org.apache.fop.svg.AbstractFOPTranscoder
public abstract class AbstractFOPTranscoder
This is the common base class of all of FOP's transcoders.
Nested Class Summary | |
---|---|
protected class |
AbstractFOPTranscoder.FOPErrorHandler
This is the default transcoder error handler for FOP. |
protected class |
AbstractFOPTranscoder.FOPTranscoderUserAgent
A user agent implementation for FOP's Transcoders. |
Nested classes/interfaces inherited from class org.apache.batik.transcoder.SVGAbstractTranscoder |
---|
org.apache.batik.transcoder.SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent |
Field Summary | |
---|---|
static org.apache.batik.transcoder.TranscodingHints.Key |
KEY_STROKE_TEXT
The key to specify whether to stroke text instead of using text operations. |
protected org.apache.batik.bridge.UserAgent |
userAgent
The user agent dedicated to this Transcoder. |
static java.lang.Boolean |
VALUE_FORMAT_OFF
The value to turn off text stroking. |
static java.lang.Boolean |
VALUE_FORMAT_ON
The value to turn on text stroking. |
Fields inherited from class org.apache.batik.transcoder.SVGAbstractTranscoder |
---|
builder, ctx, curAOI, curTxf, DEFAULT_ALLOWED_SCRIPT_TYPES, DEFAULT_DEFAULT_FONT_FAMILY, height, KEY_ALLOWED_SCRIPT_TYPES, KEY_ALTERNATE_STYLESHEET, KEY_AOI, KEY_CONSTRAIN_SCRIPT_ORIGIN, KEY_DEFAULT_FONT_FAMILY, KEY_EXECUTE_ONLOAD, KEY_HEIGHT, KEY_LANGUAGE, KEY_MAX_HEIGHT, KEY_MAX_WIDTH, KEY_MEDIA, KEY_PIXEL_TO_MM, KEY_PIXEL_UNIT_TO_MILLIMETER, KEY_SNAPSHOT_TIME, KEY_USER_STYLESHEET_URI, KEY_WIDTH, root, width |
Fields inherited from class org.apache.batik.transcoder.XMLAbstractTranscoder |
---|
KEY_DOCUMENT_ELEMENT, KEY_DOCUMENT_ELEMENT_NAMESPACE_URI, KEY_DOM_IMPLEMENTATION, KEY_XML_PARSER_CLASSNAME, KEY_XML_PARSER_VALIDATING |
Fields inherited from class org.apache.batik.transcoder.TranscoderSupport |
---|
handler, hints |
Constructor Summary | |
---|---|
AbstractFOPTranscoder()
Constructs a new FOP-style transcoder. |
Method Summary | |
---|---|
protected org.apache.batik.dom.util.DocumentFactory |
createDocumentFactory(org.w3c.dom.DOMImplementation domImpl,
java.lang.String parserClassname)
Creates a DocumentFactory that is used to create an SVG DOM tree. |
protected org.apache.batik.bridge.UserAgent |
createUserAgent()
Creates and returns the default user agent for this transcoder. |
protected org.apache.commons.logging.Log |
getLogger()
Returns the logger associated with this transcoder. |
protected boolean |
isTextStroked()
Indicates whether text should be stroked rather than painted using text operators. |
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
Sets the EntityResolver that should be used when building SVG documents. |
void |
setLogger(org.apache.commons.logging.Log logger)
|
Methods inherited from class org.apache.batik.transcoder.SVGAbstractTranscoder |
---|
createBridgeContext, createBridgeContext, createBridgeContext, getCanvasGraphicsNode, setImageSize, transcode, transcode |
Methods inherited from class org.apache.batik.transcoder.TranscoderSupport |
---|
addTranscodingHint, getErrorHandler, getTranscodingHints, removeTranscodingHint, setErrorHandler, setTranscodingHints, setTranscodingHints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.batik.transcoder.Transcoder |
---|
addTranscodingHint, getErrorHandler, getTranscodingHints, removeTranscodingHint, setErrorHandler, setTranscodingHints, setTranscodingHints |
Field Detail |
---|
public static final org.apache.batik.transcoder.TranscodingHints.Key KEY_STROKE_TEXT
public static final java.lang.Boolean VALUE_FORMAT_ON
public static final java.lang.Boolean VALUE_FORMAT_OFF
protected org.apache.batik.bridge.UserAgent userAgent
Constructor Detail |
---|
public AbstractFOPTranscoder()
Method Detail |
---|
protected org.apache.batik.bridge.UserAgent createUserAgent()
createUserAgent
in class org.apache.batik.transcoder.SVGAbstractTranscoder
public void setLogger(org.apache.commons.logging.Log logger)
logger
- public void setEntityResolver(org.xml.sax.EntityResolver resolver)
resolver
- the resolverprotected final org.apache.commons.logging.Log getLogger()
protected org.apache.batik.dom.util.DocumentFactory createDocumentFactory(org.w3c.dom.DOMImplementation domImpl, java.lang.String parserClassname)
createDocumentFactory
in class org.apache.batik.transcoder.SVGAbstractTranscoder
domImpl
- the DOM Implementation (not used)parserClassname
- the XML parser classname
protected boolean isTextStroked()
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |