java.io.Serializable
, Location
public class XPathLocation extends java.lang.Object implements Location, java.io.Serializable
Constructor | Description |
---|---|
XPathLocation() |
Creates a default XPathLocation.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addAttribute(java.lang.String name) |
Adds an attribute to the XPath location.
|
void |
addChild(java.lang.String name) |
Adds the given element name as a child of the current path.
|
void |
addParent(java.lang.String name) |
Adds the name as a parent of the current path.
|
java.lang.String |
toString() |
Returns the String representation of this XPathLocation.
|
public void addAttribute(java.lang.String name)
name
- the name of the attributepublic void addChild(java.lang.String name)
name
- the name to add as a childpublic void addParent(java.lang.String name)
name
- the name to add as a parentIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com