Package org.apache.fop.fo.extensions.svg
Class SVGElementMapping
java.lang.Object
org.apache.fop.fo.ElementMapping
org.apache.fop.fo.extensions.svg.SVGElementMapping
Setup the SVG element mapping.
This adds the svg element mappings used to create the objects
that create the SVG Document.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.fop.fo.ElementMapping
ElementMapping.Maker
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.commons.logging.Log
logging instancestatic final String
the SVG namespaceFields inherited from class org.apache.fop.fo.ElementMapping
DEFAULT, foObjs, namespaceURI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the DOMImplementation used by this ElementMapping.protected void
Initializes the set of maker objects associated with this ElementMappingMethods inherited from class org.apache.fop.fo.ElementMapping
getDefaultDOMImplementation, getNamespaceURI, getTable, isAttributeProperty
-
Field Details
-
URI
the SVG namespace- See Also:
-
log
protected org.apache.commons.logging.Log loglogging instance
-
-
Constructor Details
-
SVGElementMapping
public SVGElementMapping()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
-
initialize
protected void initialize()Initializes the set of maker objects associated with this ElementMapping- Specified by:
initialize
in classElementMapping
-
getStandardPrefix
- Overrides:
getStandardPrefix
in classElementMapping
- Returns:
- the standard namespace prefix for this namespace or null if it is not known.
-