All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.topologi.diffx.event.impl.CharactersEvent Maven / Gradle / Ivy

There is a newer version: 11.5.0
Show newest version
/*
 * This file is part of the DiffX library.
 *
 * For licensing information please see the file license.txt included in the release.
 * A copy of this licence can also be found at
 *   http://www.opensource.org/licenses/artistic-license-2.0.php
 */
package com.topologi.diffx.event.impl;

/**
 * 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. * * @author Christophe Lauret * @version 28 March 2010 */ public final class CharactersEvent extends CharactersEventBase { /** * Creates a new characters event. * * @param seq The char sequence. * * @throws NullPointerException If the given String is null. */ public CharactersEvent(CharSequence seq) throws NullPointerException { super(seq); } /** * {@inheritDoc} */ @Override public String toString() { return "characters: \""+getCharacters()+'"'; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy