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
  • Method Details

    • 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.