package net.sf.tomp.xml.tree; import org.xml.sax.*; /** * DOCUMENT ME! * * @author $author$ * @version $Revision$ */ public class IgnorableWhitespace extends Characters { /** * Creates a new IgnorableWhitespace object. * * @param c DOCUMENT ME! * @param s DOCUMENT ME! * @param l DOCUMENT ME! */ public IgnorableWhitespace(char[] c, int s, int l) { super(c, s, l); } /** * DOCUMENT ME! * * @param dh DOCUMENT ME! * * @return DOCUMENT ME! * * @throws SAXException DOCUMENT ME! */ public int send(ContentHandler dh) throws SAXException { dh.ignorableWhitespace(chars, start, len); return 1; } /** * DOCUMENT ME! * * @return DOCUMENT ME! */ public String toString() { return "ignorable-whitespace=" + new String(chars, start, len); } } /* The contents of this file are subject to the * Mozilla Public License Version 1.1 (the "License"); * you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * The Original Code is: all this file. * The Initial Developer of the Original Code is: * Tomas Pitner, Masaryk University in Brno, Czech Republic. * Contributor(s): */