/[classpath]/classpath/gnu/xml/xpath/RelationalExpr.java
ViewVC logotype

Diff of /classpath/gnu/xml/xpath/RelationalExpr.java

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

revision 1.3 by mark, Sat Jul 2 20:32:22 2005 UTC revision 1.4 by dog, Sat Jul 9 20:38:36 2005 UTC
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package gnu.xml.xpath;  package gnu.xml.xpath;
39    
40    import javax.xml.namespace.QName;
41  import org.w3c.dom.Node;  import org.w3c.dom.Node;
42    
43  /**  /**
# Line 93  final class RelationalExpr Line 94  final class RelationalExpr
94      return new RelationalExpr(lhs.clone(context), rhs.clone(context), lt, eq);      return new RelationalExpr(lhs.clone(context), rhs.clone(context), lt, eq);
95    }    }
96    
97      public boolean references(QName var)
98      {
99        return (lhs.references(var) || rhs.references(var));
100      }
101    
102    public String toString()    public String toString()
103    {    {
104      return lhs + " " + (lt ? "<" : ">") + (eq ? "=" : "") + " " + rhs;      return lhs + " " + (lt ? "<" : ">") + (eq ? "=" : "") + " " + rhs;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26