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 Details

  • Method Details

    • clone

      public Node clone(Element parent)
      Overrides:
      clone in class TextNode
    • 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.