proper.xml
Class Path

java.lang.Object
  extended by proper.xml.Path

public class Path
extends java.lang.Object

This class represents a simplest implementation of XPath, hence only "Path" as name. ;-) These paths are supported:

Version:
$Revision: 1.2 $
Author:
FracPete

Constructor Summary
Path()
           
 
Method Summary
 java.util.Vector get(Element node, java.lang.String path)
          returns all the nodes that fulfilled the path criteria
static void main(java.lang.String[] args)
          for testing only
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path()
Method Detail

get

public java.util.Vector get(Element node,
                            java.lang.String path)
returns all the nodes that fulfilled the path criteria

Parameters:
node - from this node we start
path - the path criteria for the nodes
Returns:
the nodes that did fit

main

public static void main(java.lang.String[] args)
for testing only