Code example for Vector

Methods: elementAtsetElementAt

0
  { 
 
    if (null == m_templates)
      throw new ArrayIndexOutOfBoundsException();
 
    replaceChild(v, (ElemTemplateElement)m_templates.elementAt(i));
    m_templates.setElementAt(v, i);
    v.setStylesheet(this);
  } 
   
    /** 
     * Call the children visitors. 
     * @param visitor The visitor whose appropriate method will be called. 
     */ 
    protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs)
    { 
      int s = getImportCount();
      for (int j = 0; j < s; j++)
      { 
      	getImport(j).callVisitors(visitor);
      }