Package org.apache.fop.fo.extensions.svg
Class BatikExtensionElementMapping
java.lang.Object
org.apache.fop.fo.ElementMapping
org.apache.fop.fo.extensions.svg.BatikExtensionElementMapping
This Element Mapping is for Batik SVG Extension elements
of the http://xml.apache.org/batik/ext namespace.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
(package private) static class
Nested classes/interfaces inherited from class org.apache.fop.fo.ElementMapping
ElementMapping.Maker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
static final String
Namespace URI for Batik extension elementsFields inherited from class org.apache.fop.fo.ElementMapping
DEFAULT, foObjs, namespaceURI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
Returns the fully qualified classname of an XML parser for Batik classes that apparently need it (error messages, perhaps)Returns the DOMImplementation used by this ElementMapping.protected void
initialize mappingMethods inherited from class org.apache.fop.fo.ElementMapping
getDefaultDOMImplementation, getNamespaceURI, getStandardPrefix, getTable, isAttributeProperty
-
Field Details
-
URI
Namespace URI for Batik extension elements- See Also:
-
batikAvail
private boolean batikAvail
-
-
Constructor Details
-
BatikExtensionElementMapping
public BatikExtensionElementMapping()Main constructor.
-
-
Method Details
-
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
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
-