| java.lang.Object org.jasig.portal.car.Path
Path | public class Path (Code) | | Holds onto a set of String path elements to assist with tracking where in
an XML structure SAX processing is currently working. So an XML structure
like the following would have a path of "", "", "" when SAX
processing issued a startElement event call for the "more" element.
<top>
<next>
<more>
...
Use the fromXML method to create from a more visually symbolic view of
what the path represents.
|
Constructor Summary | |
public | Path() Create a new empty path. |
Path | public Path()(Code) | | Create a new empty path.
|
equals | public boolean equals(Object o)(Code) | | Returns true if the passed in object is a path with the same number of
path items and all strings in the two paths are equal.
|
fromXML | public static Path fromXML(String xmlPath)(Code) | | Creates a Path from the XML structured snippet. The following call
would create a path that contained "top", "next", and "more" in that
order.
|
removeLast | public String removeLast()(Code) | | Remove the last item off of the path.
|
|
|