Save This Page
Home » Castor-1.3-src » org.exolab.castor » xml » location » [javadoc | source]
org.exolab.castor.xml.location
public class: XPathLocation [javadoc | source]
java.lang.Object
   org.exolab.castor.xml.location.XPathLocation

All Implemented Interfaces:
    Location, Serializable

A very simple XPath location class for use with the ValidationException. This class only supports the parent "/" operator and element names.
Constructor:
 public XPathLocation() 
Method from org.exolab.castor.xml.location.XPathLocation Summary:
addAttribute,   addChild,   addParent,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.exolab.castor.xml.location.XPathLocation Detail:
 public  void addAttribute(String name) 
    Adds an attribute to the XPath location.
 public  void addChild(String name) 
    Adds the given element name as a child of the current path.
 public  void addParent(String name) 
    Adds the name as a parent of the current path.
 public String toString() 
    Returns the String representation of this XPathLocation.