org.codehaus.cargo.module
Class Identifier
java.lang.Object
org.codehaus.cargo.module.Identifier
public class Identifier
- extends Object
Class used to work out how to 'identify' instances of DescrtiptorTags.
- Version:
- $Id: Identifier.java 1705 2008-09-02 13:14:55Z adriana $
|
Method Summary |
String |
getIdentifier(org.jdom.Element element)
Get the value of the identifier for a particular element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Identifier
public Identifier(String xpath)
- Constructor.
- Parameters:
xpath - XPath to use to identify field
- Throws:
org.jdom.JDOMException
Identifier
public Identifier(Map namespaceMap,
String xpath)
- Parameters:
namespaceMap - The namespaceMapxpath - The xpath
- Throws:
org.jdom.JDOMException
getIdentifier
public String getIdentifier(org.jdom.Element element)
- Get the value of the identifier for a particular element.
- Parameters:
element - element to use
- Returns:
- the value of the identifier
Copyright © 2004-2012 Codehaus. All Rights Reserved.