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

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

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

revision 1.2 by mark, Sat Jul 2 20:32:22 2005 UTC revision 1.3 by dog, Sat Jul 9 20:38:36 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38  package gnu.xml.xpath;  package gnu.xml.xpath;
39    
40  import java.util.List;  import java.util.List;
41    import javax.xml.namespace.QName;
42  import org.w3c.dom.Node;  import org.w3c.dom.Node;
43    
44  /**  /**
# Line 78  final class StartsWithFunction Line 79  final class StartsWithFunction
79      return new StartsWithFunction(arg1.clone(context), arg2.clone(context));      return new StartsWithFunction(arg1.clone(context), arg2.clone(context));
80    }    }
81    
82      public boolean references(QName var)
83      {
84        return (arg1.references(var) || arg2.references(var));
85      }
86    
87    public String toString()    public String toString()
88    {    {
89      return "starts-with(" + arg1 + "," + arg2 + ")";      return "starts-with(" + arg1 + "," + arg2 + ")";

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

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