Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.path
Class PathUtils

java.lang.Object
  |
  +--oracle.cabo.ui.path.PathUtils

public class PathUtils
extends java.lang.Object

Utilities for working with and creating paths.


Method Summary
static Path[] findPathsToNode(RenderingContext context, UINode from, UINode to)
          Returns all Paths to the given node.
static Path[] findPathsToNodeType(RenderingContext context, UINode from, java.lang.String namespace, java.lang.String localName)
          Returns all Paths to the given node.
static Path findPathToNode(RenderingContext context, UINode from, UINode to)
          Returns a Path to the given node.
static Path findPathWithID(RenderingContext context, UINode from, java.lang.String id)
          Returns a Path to the node with the given ID.
static Path findPathWithNodeID(RenderingContext context, UINode from, java.lang.String nodeID)
          Returns a Path to the node with the given node ID.
static java.util.Enumeration getPathChildren(RenderingContext context, Path path, UINode from)
          Returns an enumeration of all children following the path, but not including the starting element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPathChildren

public static java.util.Enumeration getPathChildren(RenderingContext context,
                                                    Path path,
                                                    UINode from)
Returns an enumeration of all children following the path, but not including the starting element.

findPathWithID

public static Path findPathWithID(RenderingContext context,
                                  UINode from,
                                  java.lang.String id)
Returns a Path to the node with the given ID.
Parameters:
from - a UINode
id - an ID to look for
Returns:
a Path to a node with a matching ID, or null if no node could be found

findPathWithNodeID

public static Path findPathWithNodeID(RenderingContext context,
                                      UINode from,
                                      java.lang.String nodeID)
Returns a Path to the node with the given node ID.
Parameters:
from - a UINode
nodeID - a node nodeID to look for
Returns:
a Path to a node with a matching node ID, or null if no node could be found

findPathToNode

public static Path findPathToNode(RenderingContext context,
                                  UINode from,
                                  UINode to)
Returns a Path to the given node.
Parameters:
from - a UINode
to - the UINode to look for
Returns:
a Path to the node, or null if the node couldn't be found

findPathsToNode

public static Path[] findPathsToNode(RenderingContext context,
                                     UINode from,
                                     UINode to)
Returns all Paths to the given node.
Parameters:
from - a UINode
to - the UINode to look for
Returns:
an array of Paths to the node, or null if the node couldn't be found

findPathsToNodeType

public static Path[] findPathsToNodeType(RenderingContext context,
                                         UINode from,
                                         java.lang.String namespace,
                                         java.lang.String localName)
Returns all Paths to the given node.
Parameters:
from - a UINode
to - the UINode to look for
Returns:
an array of Paths to the node, or null if the node couldn't be found

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.