Code example for Node

Methods: compareDocumentPosition

0
 
  public short compareDocumentPosition(DOMNode other)
    throws DOMException 
  { 
    try { 
      return _delegate.compareDocumentPosition(other.getDelegate());
    } 
    catch (org.w3c.dom.DOMException ex) {
      throw wrap(ex);
    } 
  } 
 
  public DOMNamedNodeMap getAttributes() 
  { 
    return wrap(_delegate.getAttributes()); 
  } 
 
  public String getBaseURI()
  { 
    return _delegate.getBaseURI(); 
  }