org.apache.myfaces.trinidadinternal.ui.laf.base
Class TreeWalkerUtils

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.laf.base.TreeWalkerUtils

Deprecated. This class comes from the old Java 1.2 UIX codebase and should not be used anymore.

@Deprecated
public class TreeWalkerUtils
extends java.lang.Object

Utilities for walking the tree with TreeWalker. This currently adds support only for going through context-popping nodes. Features that are not supported currently include:

  1. Dealing with dataScope nodes
  2. Updating the RenderingContext's rendered and logical stacks

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/TreeWalkerUtils.java#0 $) $Date: 10-nov-2005.18:53:09 $

Constructor Summary
TreeWalkerUtils()
          Deprecated.  
 
Method Summary
static java.lang.Object walkTree(UIXRenderingContext context, UINode ancestor, TreeWalker walker)
          Deprecated. Walks a tree using a TreeWalker.
static java.lang.Object walkTree(UIXRenderingContext context, UINode ancestor, TreeWalker walker, PathImpl path)
          Deprecated. Walks a tree using a TreeWalker.
static java.lang.Object walkTree(UIXRenderingContext context, UINode ancestor, TreeWalker walker, PathImpl path, boolean renderedOnly)
          Deprecated. Walks a tree using a TreeWalker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeWalkerUtils

public TreeWalkerUtils()
Deprecated. 
Method Detail

walkTree

public static java.lang.Object walkTree(UIXRenderingContext context,
                                        UINode ancestor,
                                        TreeWalker walker)
                                 throws java.io.IOException
Deprecated. 
Walks a tree using a TreeWalker. The TreeWalker will receive a newly instantiated Path object.

Parameters:
context - the initial RenderingContext
ancestor - the initial UINode
walker - the TreeWalker callback used
Returns:
the last value returned by walkNode()
Throws:
java.io.IOException

walkTree

public static java.lang.Object walkTree(UIXRenderingContext context,
                                        UINode ancestor,
                                        TreeWalker walker,
                                        PathImpl path)
                                 throws java.io.IOException
Deprecated. 
Walks a tree using a TreeWalker.

Parameters:
context - the initial RenderingContext
ancestor - the initial UINode
walker - the TreeWalker callback used
path - a pre-created PathImpl object; may be null if the TreeWalker doesn't need a path
Returns:
the last value returned by walkNode()
Throws:
java.io.IOException

walkTree

public static java.lang.Object walkTree(UIXRenderingContext context,
                                        UINode ancestor,
                                        TreeWalker walker,
                                        PathImpl path,
                                        boolean renderedOnly)
                                 throws java.io.IOException
Deprecated. 
Walks a tree using a TreeWalker.

Parameters:
context - the initial RenderingContext
ancestor - the initial UINode
walker - the TreeWalker callback used
path - a pre-created PathImpl object; may be null if the TreeWalker doesn't need a path
renderedOnly - if true, only walk those nodes that will be rendered
Returns:
the last value returned by walkNode()
Throws:
java.io.IOException


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.