You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by lm...@apache.org on 2001/04/02 23:19:36 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/framework XMLParser.java

lmartin     01/04/02 14:19:35

  Modified:    java/src/org/apache/xerces/framework XMLParser.java
  Log:
  Added some getter methods for msg objects.   Helps if an implementation wants to override reportError
  
  Revision  Changes    Path
  1.28      +47 -1     xml-xerces/java/src/org/apache/xerces/framework/XMLParser.java
  
  Index: XMLParser.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/framework/XMLParser.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- XMLParser.java	2001/03/05 06:25:07	1.27
  +++ XMLParser.java	2001/04/02 21:19:29	1.28
  @@ -90,7 +90,7 @@
   /**
    * This is the base class of all standard parsers.
    *
  - * @version $Id: XMLParser.java,v 1.27 2001/03/05 06:25:07 andyc Exp $
  + * @version $Id: XMLParser.java,v 1.28 2001/04/02 21:19:29 lmartin Exp $
    */
   public abstract class XMLParser 
       implements XMLErrorReporter, XMLDocumentHandler.DTDHandler {
  @@ -343,6 +343,52 @@
        */
       public final Locator getLocator() {
           return fEntityHandler;
  +    }
  +
  +    
  +    /**
  +     * return the locale               
  +     *
  +     * @return the locale
  +     */
  +    public final Locale getfLocale() {
  +        return fLocale; 
  +    }
  +
  +    /**
  +     * return the XML Messages object               
  +     *
  +     * @return the parser's messages object
  +     */
  +    public final XMLMessageProvider getfgXMLMessages() {
  +        return fgXMLMessages; 
  +    }
  +
  +    /**
  +     * return the Implementation Messages object               
  +     *
  +     * @return the parser's implementation messages
  +     */
  +    public final XMLMessageProvider getfgImplementationMessages() {
  +        return fgImplementationMessages;
  +    }
  +
  +    /**
  +     * return the Schema Messages object               
  +     *
  +     * @return the parser's schema messages
  +     */
  +    public final XMLMessageProvider getfgSchemaMessages() {
  +        return fgSchemaMessages;
  +    }
  +
  +    /**
  +     * return the Datatypes Messages object               
  +     *
  +     * @return the parser's datatypes messages
  +     */
  +    public final XMLMessageProvider getfgDatatypeMessages() {
  +        return fgDatatypeMessages;
       }
   
       /**
  
  
  

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