You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/04/13 16:41:40 UTC

cvs commit: xml-xalan/java/src/org/apache/xml/dtm DTM.java

sboag       01/04/13 07:41:39

  Modified:    java/src/org/apache/xml/dtm Tag: DTM_EXP DTM.java
  Log:
  Fixed getAttributeNode.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +8 -13     xml-xalan/java/src/org/apache/xml/dtm/Attic/DTM.java
  
  Index: DTM.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/dtm/Attic/DTM.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- DTM.java	2001/04/11 23:04:32	1.1.2.2
  +++ DTM.java	2001/04/13 14:41:38	1.1.2.3
  @@ -204,23 +204,18 @@
     public int getLastChild(int nodeHandle);
   
     /**
  -   * Retrieves an attribute node by name.
  -   * <br>To retrieve an attribute node by qualified name and namespace URI, 
  -   * use the <code>getAttributeNodeNS</code> method.
  -   *
  -   * <p> %REVIEW% The API described here actually _is_
  -   * <code>getAttributeNodeNS</code>, since it takes a
  -   * namespaceURI. Fix the function name, or fix the parameters?</p>
  +   * Retrieves an attribute node by by qualified name and namespace URI.
      *
  -   * @param name The namespace URI of the attribute to 
  +   * @param nodeHandle int Handle of the node.
  +   * @param namespaceURI The namespace URI of the attribute to
      *   retrieve, or null.
  -   * @param name The local name of the attribute to 
  +   * @param name The local name of the attribute to
      *   retrieve.
      * @return The attribute node handle with the specified name (
  -   *   <code>nodeName</code>) or <code>DTM.NULL</code> if there is no such 
  +   *   <code>nodeName</code>) or <code>DTM.NULL</code> if there is no such
      *   attribute.
      */
  -  public int getAttributeNode(String namespaceURI, String name);
  +  public int getAttributeNode(int nodeHandle, String namespaceURI, String name);
   
     /**
      * Given a node handle, get the index of the node's first attribute.
  @@ -529,7 +524,7 @@
      *   supported on this node, <code>false</code> otherwise.
      */
     public boolean isSupported(String feature, 
  -			     String version);
  +                             String version);
   
     /**
      * Return the base URI of the document entity. If it is not known
  @@ -682,7 +677,7 @@
      * <p>%REVEIW% Presumes a 1:1 mapping from DTM to Document, since
      * we aren't saying which Document to query...?</p>
      */
  -  boolean supportsPreStripping();
  +  public boolean supportsPreStripping();
   
     /**
      * Figure out whether nodeHandle2 should be considered as being later
  
  
  

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