1 18 package org.apache.batik.dom; 19 20 import org.w3c.dom.Node ; 21 22 29 public abstract class AbstractChildNode extends AbstractNode { 30 33 protected Node parentNode; 34 35 38 protected Node previousSibling; 39 40 43 protected Node nextSibling; 44 45 49 public Node getParentNode() { 50 return parentNode; 51 } 52 53 56 public void setParentNode(Node v) { 57 parentNode = v; 58 } 59 60 63 public void setPreviousSibling(Node v) { 64 previousSibling = v; 65 } 66 67 71 public Node getPreviousSibling() { 72 return previousSibling; 73 } 74 75 78 public void setNextSibling(Node v) { 79 nextSibling = v; 80 } 81 82 86 public Node getNextSibling() { 87 return nextSibling; 88 } 89 } 90 | Popular Tags |