Class CharBufferNode

  • All Implemented Interfaces:
    org.xml.sax.Locator
    Direct Known Subclasses:
    Characters, Comment, IgnorableWhitespace

    public abstract class CharBufferNode
    extends Node
    A common superclass for character buffer node classes.
    Version:
    $Id$
    • Field Detail

      • buffer

        protected final char[] buffer
        The buffer.
    • Constructor Detail

      • CharBufferNode

        CharBufferNode​(org.xml.sax.Locator locator,
                       char[] buf,
                       int start,
                       int length)
        The constructor.
        Parameters:
        locator - the locator
        buf - the buffer
        start - the offset
        length - the length
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns the wrapped buffer as a string.
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()