/[classpath]/classpath/gnu/xml/dom/DomAttr.java
ViewVC logotype

Diff of /classpath/gnu/xml/dom/DomAttr.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mark, Thu Dec 23 22:38:43 2004 UTC revision 1.2 by dog, Thu Feb 10 17:21:25 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38  package gnu.xml.dom;  package gnu.xml.dom;
39    
40  import org.w3c.dom.Attr;  import org.w3c.dom.Attr;
41    import org.w3c.dom.DOMException;
42  import org.w3c.dom.Element;  import org.w3c.dom.Element;
43  import org.w3c.dom.Node;  import org.w3c.dom.Node;
44  import org.w3c.dom.TypeInfo;  import org.w3c.dom.TypeInfo;
# Line 194  public class DomAttr Line 195  public class DomAttr
195    {    {
196      if (readonly)      if (readonly)
197        {        {
198          throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR);          throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR);
199        }        }
200      if (value == null)      if (value == null)
201        {        {
# Line 284  public class DomAttr Line 285  public class DomAttr
285    {    {
286      if (parent != null)      if (parent != null)
287        {        {
288          throw new DomEx (DomEx.HIERARCHY_REQUEST_ERR);          throw new DomDOMException(DOMException.HIERARCHY_REQUEST_ERR);
289        }        }
290      if (!(e instanceof DomElement))      if (!(e instanceof DomElement))
291        {        {
292          throw new DomEx(DomEx.WRONG_DOCUMENT_ERR);          throw new DomDOMException(DOMException.WRONG_DOCUMENT_ERR);
293        }        }
294      parent = (DomElement) e;      parent = (DomElement) e;
295      depth = parent.depth + 1;      depth = parent.depth + 1;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26