Class SVGObj

java.lang.Object
org.apache.fop.fo.FONode
org.apache.fop.fo.XMLObj
org.apache.fop.fo.extensions.svg.SVGObj
All Implemented Interfaces:
Cloneable, EventListener, ContentHandlerFactory.ObjectBuiltListener
Direct Known Subclasses:
SVGElement

public class SVGObj extends XMLObj
Class for SVG element objects. This aids in the construction of the SVG Document.
  • Constructor Details

    • SVGObj

      public SVGObj(FONode parent)
      Constructs an SVG object (called by Maker).
      Parameters:
      parent - the parent formatting object
  • Method Details

    • getNamespaceURI

      public String getNamespaceURI()
      Returns the namespace URI for this node
      Overrides:
      getNamespaceURI in class FONode
      Returns:
      the namespace URI for this node
    • getNormalNamespacePrefix

      public String getNormalNamespacePrefix()
      Returns the normally used namespace prefix for this node
      Specified by:
      getNormalNamespacePrefix in class FONode
      Returns:
      the normally used namespace prefix for this kind of node (ex. "fo" for XSL-FO)