org.exolab.castor.xml
public class XPathLocation extends Object implements Location
Version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
| Field Summary | |
|---|---|
| boolean | allowChildrenOrAtts |
| Vector | path |
| Constructor Summary | |
|---|---|
| XPathLocation()
Creates a default XPathLocation
| |
| Method Summary | |
|---|---|
| void | addAttribute(String name) |
| void | addChild(String name)
Adds the name as a child of the current path |
| void | addParent(String name)
Adds the name as a parent of the current path |
| String | toString()
Returns the String representation of this XPathLocation
|
Parameters: name the name to add as a child
Parameters: name the name to add as a parent