示例#1
0
  /**
   * Call the children visitors.
   *
   * @param visitor The visitor whose appropriate method will be called.
   */
  public void callChildVisitors(XSLTVisitor visitor, boolean callAttributes) {
    if (callAttributes && (null != m_selectExpression))
      m_selectExpression.callVisitors(this, visitor);

    int length = getSortElemCount();

    for (int i = 0; i < length; i++) {
      getSortElem(i).callVisitors(visitor);
    }

    super.callChildVisitors(visitor, callAttributes);
  }
示例#2
0
 /**
  * Call the children visitors.
  *
  * @param visitor The visitor whose appropriate method will be called.
  */
 protected void callChildVisitors(XSLTVisitor visitor) {
   callChildVisitors(visitor, true);
 }
 /**
  * Call the children visitors.
  *
  * @param visitor The visitor whose appropriate method will be called.
  */
 protected void callChildVisitors(XSLTVisitor visitor, boolean callAttrs) {
   if (null != m_selectPattern)
     m_selectPattern.getExpression().callVisitors(m_selectPattern, visitor);
   super.callChildVisitors(visitor, callAttrs);
 }
示例#4
0
 /** @see XSLTVisitable#callVisitors(XSLTVisitor) */
 public void callVisitors(XSLTVisitor visitor) {
   if (accept(visitor)) {
     callChildVisitors(visitor);
   }
 }