sboag       01/04/03 14:07:20

  Modified:    java/src/org/apache/xml/utils Tag: DTM_EXP DTMIterator.java
  Log:
  Added getDTM(int node) and getDTMManager().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +21 -0     xml-xalan/java/src/org/apache/xml/utils/DTMIterator.java
  
  Index: DTMIterator.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/utils/DTMIterator.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- DTMIterator.java  2001/03/29 19:17:54     1.1
  +++ DTMIterator.java  2001/04/03 21:07:20     1.1.2.1
  @@ -107,6 +107,27 @@
      * @param environment The environment object.
      */
     public void setEnvironment(Object environment);
  +  
  +  /**
  +   * Get an instance of a DTM that "owns" a node handle.  Since a node 
  +   * iterator may be passed without a DTMManager, this allows the 
  +   * caller to easily get the DTM using just the iterator.
  +   *
  +   * @param nodeHandle the nodeHandle.
  +   *
  +   * @return a non-null DTM reference.
  +   */
  +  public DTM getDTM(int nodeHandle);
  +  
  +  /**
  +   * Get an instance of the DTMManager.  Since a node 
  +   * iterator may be passed without a DTMManager, this allows the 
  +   * caller to easily get the DTMManager using just the iterator.
  +   *
  +   * @return a non-null DTMManager reference.
  +   */
  +  public DTMManager getDTMManager();
  +
   
     /**
      * The root node of the <code>DTMIterator</code>, as specified when it
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to