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

    • Method Detail

      • getValue

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

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

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