Package org.apache.fop.fo.extensions.svg
Class BatikExtensionElementMapping
- java.lang.Object
-
- org.apache.fop.fo.ElementMapping
-
- org.apache.fop.fo.extensions.svg.BatikExtensionElementMapping
-
public class BatikExtensionElementMapping extends ElementMapping
This Element Mapping is for Batik SVG Extension elements of the http://xml.apache.org/batik/ext namespace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
BatikExtensionElementMapping.SE
(package private) static class
BatikExtensionElementMapping.SVGMaker
-
Nested classes/interfaces inherited from class org.apache.fop.fo.ElementMapping
ElementMapping.Maker
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
batikAvail
static java.lang.String
URI
Namespace URI for Batik extension elements-
Fields inherited from class org.apache.fop.fo.ElementMapping
DEFAULT, foObjs, namespaceURI
-
-
Constructor Summary
Constructors Constructor Description BatikExtensionElementMapping()
Main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
getAParserClassName()
Returns the fully qualified classname of an XML parser for Batik classes that apparently need it (error messages, perhaps)org.w3c.dom.DOMImplementation
getDOMImplementation()
Returns the DOMImplementation used by this ElementMapping.protected void
initialize()
initialize mapping-
Methods inherited from class org.apache.fop.fo.ElementMapping
getDefaultDOMImplementation, getNamespaceURI, getStandardPrefix, getTable, isAttributeProperty
-
-
-
-
Field Detail
-
URI
public static final java.lang.String URI
Namespace URI for Batik extension elements- See Also:
- Constant Field Values
-
batikAvail
private boolean batikAvail
-
-
Method Detail
-
getDOMImplementation
public org.w3c.dom.DOMImplementation getDOMImplementation()
Returns the DOMImplementation used by this ElementMapping. The value returned may be null for cases where no DOM is used to represent the element tree (XSL-FO, for example). This method is used by the intermediate format to instantiate the right kind of DOM document for foreign objects. For example, SVG handled through Apache Batik has to use a special DOMImplementation.- Overrides:
getDOMImplementation
in classElementMapping
- Returns:
- the DOMImplementation used by this ElementMapping, may be null
-
getAParserClassName
private java.lang.String getAParserClassName()
Returns the fully qualified classname of an XML parser for Batik classes that apparently need it (error messages, perhaps)- Returns:
- an XML parser classname
-
initialize
protected void initialize()
initialize mapping- Specified by:
initialize
in classElementMapping
-
-