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/06/19 23:33:49 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/templates ElemVariable.java

sboag       01/06/19 14:33:49

  Modified:    java/src/org/apache/xalan/templates ElemVariable.java
  Log:
  Add getIndex accessor, so that the Variable hack can get to it.
  
  Revision  Changes    Path
  1.12      +6 -0      xml-xalan/java/src/org/apache/xalan/templates/ElemVariable.java
  
  Index: ElemVariable.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemVariable.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ElemVariable.java	2001/06/12 19:15:12	1.11
  +++ ElemVariable.java	2001/06/19 21:33:48	1.12
  @@ -92,6 +92,12 @@
      * global area, it will have to be offset at execution time.
      */
     protected int m_index;
  +  
  +  // Get the relative index of this variable.
  +  public int getIndex()
  +  {
  +    return m_index;
  +  }
   
     /**
      * Constructor ElemVariable
  
  
  

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