code: public boolean notEquals(XObject obj2)
            throws javax.xml.transform.TransformerException
    {
  
      // In order to handle the 'all' semantics of 
      // nodeset comparisons, we always call the 
      // nodeset function.
      if (obj2.getType() == XObject.CLASS_NODESET)
        return obj2.notEquals(this);
  
      return !equals(obj2);
    }
docs: Tell if two objects are functionally not equal.
  
  @param obj2 Object to compare this to
  
  @return True if this object is not equal to the given object
  
  @throws javax.xml.transform.TransformerException