You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by le...@locus.apache.org on 2000/10/12 01:18:22 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/parsers DTDParser.java

lehors      00/10/11 16:18:21

  Modified:    java/src/org/apache/xerces/parsers Tag: xerces_j_2
                        DTDParser.java
  Log:
  added placeholder for new callback textDecl
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.10  +16 -1     xml-xerces/java/src/org/apache/xerces/parsers/Attic/DTDParser.java
  
  Index: DTDParser.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/Attic/DTDParser.java,v
  retrieving revision 1.1.2.9
  retrieving revision 1.1.2.10
  diff -u -r1.1.2.9 -r1.1.2.10
  --- DTDParser.java	2000/10/11 01:25:21	1.1.2.9
  +++ DTDParser.java	2000/10/11 23:18:20	1.1.2.10
  @@ -67,7 +67,7 @@
   
   /**
    * @author Stubs generated by DesignDoc on Mon Sep 11 11:10:57 PDT 2000
  - * @version $Id: DTDParser.java,v 1.1.2.9 2000/10/11 01:25:21 lehors Exp $
  + * @version $Id: DTDParser.java,v 1.1.2.10 2000/10/11 23:18:20 lehors Exp $
    */
   public class DTDParser
       extends XMLGrammarParser
  @@ -133,6 +133,21 @@
        */
       public void startEntity(String name, String publicId, String systemId, 
                               String encoding) throws SAXException {
  +    }
  +
  +    /**
  +     * Notifies of the presence of a TextDecl line in an entity. If present,
  +     * this method will be called immediately following the startEntity call.
  +     * <p>
  +     * <strong>Note:</strong> This method is only called for external
  +     * parameter entities referenced in the DTD.
  +     * 
  +     * @param version  The XML version, or null if not specified.
  +     * @param encoding The IANA encoding name of the entity.
  +     *
  +     * @throws SAXException Thrown by handler to signal an error.
  +     */
  +    public void textDecl(String version, String encoding) throws SAXException {
       }
   
       /**