Class TinyTextImpl

  • All Implemented Interfaces:
    NodeInfo, javax.xml.transform.dom.DOMLocator, javax.xml.transform.Source, javax.xml.transform.SourceLocator, org.w3c.dom.CharacterData, org.w3c.dom.Node, org.w3c.dom.Text

    final class TinyTextImpl
    extends TinyNodeImpl
    implements org.w3c.dom.Text
    A node in the XML parse tree representing character content

    Author:
    Michael H. Kay
    • Constructor Detail

    • Method Detail

      • getStringValue

        public java.lang.String getStringValue()
        Return the character value of the node.
        Specified by:
        getStringValue in interface NodeInfo
        Returns:
        the string value of the node
      • getNodeType

        public final short getNodeType()
        Return the type of node.
        Specified by:
        getNodeType in interface org.w3c.dom.Node
        Specified by:
        getNodeType in interface NodeInfo
        Returns:
        Node.TEXT
      • copy

        public void copy​(Outputter out)
                  throws javax.xml.transform.TransformerException
        Copy this node to a given outputter
        Specified by:
        copy in interface NodeInfo
        Throws:
        javax.xml.transform.TransformerException
      • copyStringValue

        public void copyStringValue​(Outputter out)
                             throws javax.xml.transform.TransformerException
        Copy the string-value of this node to a given outputter
        Specified by:
        copyStringValue in interface NodeInfo
        Overrides:
        copyStringValue in class AbstractNode
        Throws:
        javax.xml.transform.TransformerException