Class SVGTextData

  • All Implemented Interfaces:
    Peer

    public class SVGTextData
    extends TextNode
    SVGTextData is a class to represent the pcdata (#text) child in the SVG schema.
    • Constructor Detail

      • SVGTextData

        public SVGTextData​(Element oParent,
                           Node oNode,
                           java.lang.String text)
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Get the pcData for this node.
        Overrides:
        getValue in class TextNode
        Returns:
        the pcData as a string.
      • setValue

        public void setValue​(java.lang.String sData)
        Set the pcdata for this node.
        Parameters:
        sData - a string containing the new pcdata.
      • toString

        public java.lang.String toString()
        Cast this node to a string value.
        Overrides:
        toString in class java.lang.Object
        Returns:
        the string representing the pcdata.