You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@apache.org on 2003/01/24 01:24:13 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/xni XMLLocator.java

andyc       2003/01/23 16:24:13

  Modified:    java/docs releases.xml
               java/src/org/apache/xerces/xni XMLLocator.java
  Log:
  Removed setter methods from XMLLocator interface for finalization
  of XNI.
  
  Revision  Changes    Path
  1.142     +11 -4     xml-xerces/java/docs/releases.xml
  
  Index: releases.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/docs/releases.xml,v
  retrieving revision 1.141
  retrieving revision 1.142
  diff -u -r1.141 -r1.142
  --- releases.xml	23 Jan 2003 20:35:40 -0000	1.141
  +++ releases.xml	24 Jan 2003 00:24:12 -0000	1.142
  @@ -1,4 +1,4 @@
  -<?xml version='1.0' encoding='UTF-8'?>
  +<?xml version='1.0' encoding='UTF-8'?>
   <!-- $Id$ -->
   <!DOCTYPE releases SYSTEM 'dtd/releases.dtd'>
   <releases>
  @@ -7,18 +7,25 @@
           TBD
       </desc>
       <changes>
  +      <update>
  +       <note>
  +        Modified XMLLocator interface to remove setter methods for move
  +        towards finalizing XNI.
  +       </note>
  +       <submitter name='Andy Clark'/>
  +      </update>
         <add>
             <note>Implemented several DOM Level 3 features, including DOMConfiguration, exposing type
             information via DOM, and allowing to set an ID attribute in the DOM.
             </note>
             <submitter name='Elena Litani'/>
           </add>      
  -        <add>
  +        <update>
             <note>Modified several XNI interfaces, i.e. NamespaceContext, XMLResourceIdentifier, and updated implementation
             accordingly.
             </note>
             <submitter name='Elena Litani'/>
  -        </add>      
  +        </update>      
         <fix>
           <note>
             Fix comment parsing bug that prevented Tomcat 4.1.12 from making
  
  
  
  1.6       +8 -11     xml-xerces/java/src/org/apache/xerces/xni/XMLLocator.java
  
  Index: XMLLocator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/xni/XMLLocator.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMLLocator.java	16 Dec 2002 01:26:21 -0000	1.5
  +++ XMLLocator.java	24 Jan 2003 00:24:12 -0000	1.6
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 2001, 2002 The Apache Software Foundation.  
  + * Copyright (c) 2001-2003 The Apache Software Foundation.  
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -59,27 +59,24 @@
   
   /**
    * Location information.
  - * Since location information subsumes information on the physical location of the resource,
  - * it makes eminent sense for this interface to extend XMLResourceIdentifier.
  + * <p>
  + * Since location information subsumes information on the physical 
  + * location of the resource, it makes eminent sense for this interface 
  + * to extend XMLResourceIdentifier.
    *
    * @author Andy Clark, IBM
    *
    * @version $Id$
    */
  -public interface XMLLocator  extends XMLResourceIdentifier {
  +public interface XMLLocator
  +    extends XMLResourceIdentifier {
   
       //
       // XMLLocator methods
       //
       
  -    /** Sets the line number. */
  -    public void setLineNumber(int line);
  -
       /** Returns the line number. */
       public int getLineNumber();
  -  
  -    /** Sets the column number. */
  -    public void setColumnNumber(int col);
     
       /** Returns the column number. */
       public int getColumnNumber();
  
  
  

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