/[classpath]/classpath/gnu/xml/libxmlj/dom/GnomeXPathNSResolver.java
ViewVC logotype

Diff of /classpath/gnu/xml/libxmlj/dom/GnomeXPathNSResolver.java

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

revision 1.1 by mark, Wed Dec 29 21:39:36 2004 UTC revision 1.2 by dog, Thu Dec 30 16:11:57 2004 UTC
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package gnu.xml.libxmlj.dom;  package gnu.xml.libxmlj.dom;
39    
40    import org.w3c.dom.Node;
41  import org.w3c.dom.xpath.XPathNSResolver;  import org.w3c.dom.xpath.XPathNSResolver;
42    
43  /**  /**
# Line 45  import org.w3c.dom.xpath.XPathNSResolver Line 46  import org.w3c.dom.xpath.XPathNSResolver
46   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>
47   */   */
48  class GnomeXPathNSResolver  class GnomeXPathNSResolver
49  implements XPathNSResolver    implements XPathNSResolver
50  {  {
51    
52    GnomeDocument doc;    Node node;
53    
54    GnomeXPathNSResolver (GnomeDocument doc)    GnomeXPathNSResolver(Node node)
55    {    {
56      this.doc = doc;      this.node = node;
57    }    }
58    
59    public String lookupNamespaceURI (String prefix)    public String lookupNamespaceURI(String prefix)
60    {    {
61      return doc.lookupNamespaceURI (prefix);      return node.lookupNamespaceURI(prefix);
62    }    }
63      
64  }  }
65    

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