to.etc.xml
Class RootSelector

java.lang.Object
  extended by to.etc.xml.RootSelector
All Implemented Interfaces:
PathSelector

public class RootSelector
extends java.lang.Object
implements PathSelector

This selector merely returns the root node of a path expression.

Created on May 23, 2005

Author:
Frits Jalvingh

Constructor Summary
RootSelector()
           
 
Method Summary
 org.w3c.dom.Node select(org.w3c.dom.Node root, org.w3c.dom.Node parent)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootSelector

public RootSelector()
Method Detail

select

public org.w3c.dom.Node select(org.w3c.dom.Node root,
                               org.w3c.dom.Node parent)
                        throws java.lang.Exception
Specified by:
select in interface PathSelector
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object