Public Member Functions | |
XPathLocation () | |
void | addAttribute (String name) |
void | addChild (String name) |
void | addParent (String name) |
String | toString () |
Package Attributes | |
Vector | path = null |
boolean | allowChildrenOrAtts = true |
A very simple XPath location class for use with the ValidationException. This class only supports the parent "/" operator and element names.
org.exolab.castor.xml.XPathLocation.XPathLocation | ( | ) |
Creates a default XPathLocation
References org.exolab.castor.xml.XPathLocation.path.
void org.exolab.castor.xml.XPathLocation.addAttribute | ( | String | name | ) |
void org.exolab.castor.xml.XPathLocation.addChild | ( | String | name | ) |
Adds the name as a child of the current path
name | the name to add as a child |
References org.exolab.castor.xml.XPathLocation.allowChildrenOrAtts, and org.exolab.castor.xml.XPathLocation.path.
Referenced by org.exolab.castor.xml.Validator.validate().
void org.exolab.castor.xml.XPathLocation.addParent | ( | String | name | ) |
Adds the name as a parent of the current path
name | the name to add as a parent |
References org.exolab.castor.xml.XPathLocation.path.
Referenced by org.exolab.castor.xml.Validator.validate().
String org.exolab.castor.xml.XPathLocation.toString | ( | ) |
Returns the String representation of this XPathLocation
Implements org.exolab.castor.xml.Location.
References org.exolab.castor.xml.XPathLocation.path.
boolean org.exolab.castor.xml.XPathLocation.allowChildrenOrAtts = true [package] |
Vector org.exolab.castor.xml.XPathLocation.path = null [package] |