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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to