textbender.g.xml.sax
Class IgnorableWhitespaceEvent

java.lang.Object
  extended by IgnorableWhitespaceEvent
All Implemented Interfaces:
SAXEvent

public class IgnorableWhitespaceEvent
extends Object
implements SAXEvent

Persistent capture of a SAX ignorableWhitespace() event.

See Also:
ContentHandler.ignorableWhitespace(char[], int, int)

Constructor Summary
IgnorableWhitespaceEvent(char[] ch, int start, int length)
          Creates an IgnorableWhitespaceEvent.
 
Method Summary
 char[] ch()
           
static IgnorableWhitespaceEvent createOrReturn(char[] ch, int start, int length)
          Creates an IgnorableWhitespaceEvent or, if length is zero or less, returns i0().
static IgnorableWhitespaceEvent i0()
          The common instance of an empty IgnorableWhitespaceEvent.
 int length()
           
 void send(ContentHandler handler)
          Sends this event to the specified content handler.
 int start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnorableWhitespaceEvent

public IgnorableWhitespaceEvent(char[] ch,
                                int start,
                                int length)
Creates an IgnorableWhitespaceEvent.

Method Detail

i0

public static IgnorableWhitespaceEvent i0()
The common instance of an empty IgnorableWhitespaceEvent.


createOrReturn

public static IgnorableWhitespaceEvent createOrReturn(char[] ch,
                                                      int start,
                                                      int length)
Creates an IgnorableWhitespaceEvent or, if length is zero or less, returns i0().


ch

public char[] ch()

start

public int start()

length

public int length()

send

public void send(ContentHandler handler)
          throws SAXException
Description copied from interface: SAXEvent
Sends this event to the specified content handler.

Specified by:
send in interface SAXEvent
Throws:
SAXException