KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > dom > ExtendedNode


1 /*
2
3    Copyright 2000,2003 The Apache Software Foundation
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16
17  */

18 package org.apache.batik.dom;
19
20 import org.apache.batik.dom.events.NodeEventTarget;
21 import org.w3c.dom.Document JavaDoc;
22 import org.w3c.dom.Node JavaDoc;
23
24 /**
25  * This interface provides an access to the non DOM methods implemented by
26  * all the nodes in this implementation.
27  *
28  * @author <a HREF="mailto:stephane@hillion.org">Stephane Hillion</a>
29  * @version $Id: ExtendedNode.java,v 1.8 2005/02/22 09:12:58 cam Exp $
30  */

31
32 public interface ExtendedNode extends Node JavaDoc, NodeEventTarget {
33     /**
34      * Sets the name of this node.
35      */

36     void setNodeName(String JavaDoc v);
37
38     /**
39      * Tests whether this node is readonly.
40      */

41     boolean isReadonly();
42
43     /**
44      * Sets this node readonly attribute.
45      */

46     void setReadonly(boolean v);
47
48     /**
49      * Sets the owner document of this node.
50      */

51     void setOwnerDocument(Document JavaDoc doc);
52
53     /**
54      * Sets the parent node.
55      */

56     void setParentNode(Node JavaDoc v);
57
58     /**
59      * Sets the node immediately preceding this node.
60      */

61     void setPreviousSibling(Node JavaDoc n);
62
63     /**
64      * Sets the node immediately following this node.
65      */

66     void setNextSibling(Node JavaDoc n);
67
68     /**
69      * Sets the value of the specified attribute. This method only applies
70      * to Attr objects.
71      */

72     void setSpecified(boolean v);
73 }
74
Popular Tags