Public Member Functions | Package Attributes

org.exolab.castor.xml.XPathLocation Class Reference

Inheritance diagram for org.exolab.castor.xml.XPathLocation:
org.exolab.castor.xml.Location

List of all members.

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

Detailed Description

A very simple XPath location class for use with the ValidationException. This class only supports the parent "/" operator and element names.

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:17

Constructor & Destructor Documentation

org.exolab.castor.xml.XPathLocation.XPathLocation (  ) 

Member Function Documentation

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

Parameters:
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

Parameters:
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.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties