2 * @(#)DOMTextImpl.java 1.11 2000/08/16
6 package net.sourceforge.phpdt.tidy;
8 import org.w3c.dom.DOMException;
14 * (c) 1998-2000 (W3C) MIT, INRIA, Keio University
15 * See Tidy.java for the copyright notice.
16 * Derived from <a href="http://www.w3.org/People/Raggett/tidy">
17 * HTML Tidy Release 4 Aug 2000</a>
19 * @author Dave Raggett <dsr@w3.org>
20 * @author Andy Quick <ac.quick@sympatico.ca> (translation to Java)
21 * @version 1.7, 1999/12/06 Tidy Release 30 Nov 1999
22 * @version 1.8, 2000/01/22 Tidy Release 13 Jan 2000
23 * @version 1.9, 2000/06/03 Tidy Release 30 Apr 2000
24 * @version 1.10, 2000/07/22 Tidy Release 8 Jul 2000
25 * @version 1.11, 2000/08/16 Tidy Release 4 Aug 2000
28 public class DOMTextImpl extends DOMCharacterDataImpl
29 implements org.w3c.dom.Text {
31 protected DOMTextImpl(Node adaptee)
37 /* --------------------- DOM ---------------------------- */
40 * @see org.w3c.dom.Node#getNodeName
42 public String getNodeName()
48 * @see org.w3c.dom.Node#getNodeType
50 public short getNodeType()
52 return org.w3c.dom.Node.TEXT_NODE;
56 * @see org.w3c.dom.Text#splitText
58 public org.w3c.dom.Text splitText(int offset) throws DOMException
61 throw new DOMExceptionImpl(DOMException.NO_MODIFICATION_ALLOWED_ERR,