You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dl...@locus.apache.org on 2000/11/14 18:31:39 UTC

cvs commit: xml-xalan/java/src/javax/xml/transform/dom DOMLocator.java DOMResult.java DOMSource.java

dleslie     00/11/14 09:31:39

  Modified:    java/src/javax/xml/transform/dom DOMLocator.java
                        DOMResult.java DOMSource.java
  Log:
  Javadoc updates.
  
  Revision  Changes    Path
  1.4       +6 -8      xml-xalan/java/src/javax/xml/transform/dom/DOMLocator.java
  
  Index: DOMLocator.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/dom/DOMLocator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DOMLocator.java	2000/11/13 16:26:32	1.3
  +++ DOMLocator.java	2000/11/14 17:31:38	1.4
  @@ -61,19 +61,17 @@
   import org.w3c.dom.Node;
   
   /**
  - * Interface DOMLocator is used to indicate the position of a 
  - * node in a source DOM.  This is to be used primarily for 
  - * error reporting.  In order to use this, the receiver of an 
  - * error will need to downcast the SourceLocator object returned 
  - * by an exception.  Some transformers may use this object for 
  - * purposes other than error reporting, for instance, to indicate 
  - * a source node that originated a result node.
  + * Indicates the position of a node in a source DOM, intended  
  + * primarily for error reporting.  To use a SourceLocator, the receiver of an 
  + * error must downcast the SourceLocator object returned by an exception.
  + * A Transformer may use this object for  purposes other than error reporting, 
  + * for instance, to indicate the source node that originated a result node.
    */
   public interface DOMLocator extends SourceLocator
   {
   
     /**
  -   * Method getOriginatingNode
  +   * Return the node where the event occurred.
      *
      * @return The node that is the location for the event.
      */
  
  
  
  1.4       +5 -5      xml-xalan/java/src/javax/xml/transform/dom/DOMResult.java
  
  Index: DOMResult.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/dom/DOMResult.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DOMResult.java	2000/11/13 16:26:32	1.3
  +++ DOMResult.java	2000/11/14 17:31:38	1.4
  @@ -66,11 +66,11 @@
   import org.w3c.dom.Node;
   
   /**
  - * Acts as an holder for a transformation result tree, in the 
  - * form of a Document Object Model (DOM).  If no node is set, 
  + * Acts as a holder for a transformation result tree, in the 
  + * form of a Document Object Model (DOM) tree. If no output DOM source is set, 
    * the transformation will create a Document node as the holder 
    * for the result of the transformation, which may be retrieved 
  - * via getNode.
  + * wiht getNode.
    */
   public class DOMResult implements Result
   {
  @@ -84,7 +84,7 @@
     public DOMResult(){}
   
     /**
  -   * Create a new output target with a DOM node.
  +   * Use a DOM node to create a new output target.
      *
      * @param n The DOM node that will contain the result tree.
      */
  @@ -135,7 +135,7 @@
      * Method setSystemId Set the systemID that may be used in association
      * with the node.
      *
  -   * @param systemId The system identifier as a URL string.
  +   * @param systemId The system identifier as a URI string.
      */
     public void setSystemId(String systemId)
     {
  
  
  
  1.4       +2 -2      xml-xalan/java/src/javax/xml/transform/dom/DOMSource.java
  
  Index: DOMSource.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/javax/xml/transform/dom/DOMSource.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DOMSource.java	2000/11/13 16:26:32	1.3
  +++ DOMSource.java	2000/11/14 17:31:38	1.4
  @@ -66,8 +66,8 @@
   import org.w3c.dom.Node;
   
   /**
  - * Acts as an holder for a transformation Source tree in the 
  - * form of a Document Object Model.
  + * Acts as a holder for a transformation Source tree in the 
  + * form of a Document Object Model (DOM) tree.
    *
    * @see <a href="http://www.w3.org/TR/DOM-Level-2">Document Object Model (DOM) Level 2 Specification</a>
    */