com.topologi.diffx.event.impl
Class CharactersEvent

java.lang.Object
  extended bycom.topologi.diffx.event.impl.DiffXEventBase
      extended bycom.topologi.diffx.event.impl.CharactersEventBase
          extended bycom.topologi.diffx.event.impl.CharactersEvent
All Implemented Interfaces:
DiffXEvent, TextEvent, XMLFormattable, XMLWritable

public final class CharactersEvent
extends CharactersEventBase

An event corresponds to the "characters" SAX event.

This event can be used to represent the text content of entire element. Typically, this would happen when there is no need to examine the text content of the node.

Version:
10 December 2004
Author:
Christophe Lauret (Allette Systems)

Constructor Summary
CharactersEvent(CharSequence seq)
          Creates a new characters event.
 
Method Summary
 String toString()
           
 
Methods inherited from class com.topologi.diffx.event.impl.CharactersEventBase
equals, equals, getCharacters, getWeight, hashCode, setWeight, toXML, toXML, toXML
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.topologi.diffx.event.DiffXEvent
getWeight, setWeight
 
Methods inherited from interface com.topologi.diffx.xml.XMLFormattable
toXML
 

Constructor Detail

CharactersEvent

public CharactersEvent(CharSequence seq)
                throws NullPointerException
Creates a new characters event.

Parameters:
seq - The char sequence.
Throws:
NullPointerException - If the given String is null.
Method Detail

toString

public String toString()
See Also:
Object.toString()