You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mk...@apache.org on 2002/09/27 15:54:49 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath XPathContext.java

mkwan       2002/09/27 06:54:49

  Modified:    java/src/org/apache/xpath XPathContext.java
  Log:
  For Bugzilla 10414. Provide a getErrorListener() interface in the ExpressionContext.
  
  Revision  Changes    Path
  1.41      +9 -0      xml-xalan/java/src/org/apache/xpath/XPathContext.java
  
  Index: XPathContext.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/XPathContext.java,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- XPathContext.java	10 Jun 2002 19:24:42 -0000	1.40
  +++ XPathContext.java	27 Sep 2002 13:54:49 -0000	1.41
  @@ -1146,6 +1146,15 @@
       {
         return new org.apache.xml.dtm.ref.DTMNodeIterator(getContextNodeList());
       }
  +
  +    /**
  +     * Get the error listener.
  +     * @return The registered error listener.
  +     */
  +    public ErrorListener getErrorListener()
  +    {
  +      return XPathContext.this.getErrorListener();
  +    }
     
       /**
        * Get the value of a node as a number.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org