1 56 57 package org.jdom.output; 58 59 import org.xml.sax.*; 60 import org.xml.sax.helpers.*; 61 62 70 public class JDOMLocator extends LocatorImpl { 71 72 private static final String CVS_ID = 73 "@(#) $RCSfile: JDOMLocator.java,v $ $Revision: 1.3 $ $Date: 2004/02/06 09:28:32 $ $Name: $"; 74 75 76 private Object node; 77 78 81 JDOMLocator() { super(); 83 } 84 85 91 JDOMLocator(Locator locator) { super(locator); 93 94 if (locator instanceof JDOMLocator) { 95 this.setNode(((JDOMLocator)locator).getNode()); 96 } 97 } 98 99 104 public Object getNode() { 105 return this.node; 106 } 107 108 114 void setNode(Object node) { this.node = node; 116 } 117 } 118 119 | Popular Tags |