com.topologi.diffx.event
Interface TextEvent

All Superinterfaces:
DiffXEvent, XMLFormattable, XMLWritable
All Known Implementing Classes:
CharactersEvent, CharactersEventBase, IgnorableSpaceEvent, LineEvent, SpaceEvent, WordEvent

public interface TextEvent
extends DiffXEvent

An interface for any data that comes from a text node.

Version:
21 December 2004
Author:
Christophe Lauret

Method Summary
 String getCharacters()
          Returns the characters that this event represents.
 
Methods inherited from interface com.topologi.diffx.event.DiffXEvent
equals, getWeight, setWeight
 
Methods inherited from interface com.topologi.diffx.xml.XMLWritable
toXML
 
Methods inherited from interface com.topologi.diffx.xml.XMLFormattable
toXML, toXML
 

Method Detail

getCharacters

String getCharacters()
Returns the characters that this event represents.

Note: this method will return the characters as used by Java (ie. Unicode), they may not be suitable for writing to an XML string.

Returns:
The characters that this event represents.