Package org.codehaus.cargo.util
Class FileHandler.XmlReplacementDetails
- java.lang.Object
-
- org.codehaus.cargo.util.FileHandler.XmlReplacementDetails
-
- Enclosing interface:
- FileHandler
public static class FileHandler.XmlReplacementDetails extends Object
Represents details of an XML replacement.
-
-
Constructor Summary
Constructors Constructor Description XmlReplacementDetails(String xpathExpression, String attributeName, XmlReplacement.ReplacementBehavior replacementBehavior)
Saves the attributes for this XML replacement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAttributeName()
XmlReplacement.ReplacementBehavior
getReplacementBehavior()
String
getXpathExpression()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
XmlReplacementDetails
public XmlReplacementDetails(String xpathExpression, String attributeName, XmlReplacement.ReplacementBehavior replacementBehavior)
Saves the attributes for this XML replacement.- Parameters:
xpathExpression
- XPath expression.attributeName
- XML attribute name.replacementBehavior
- Behavior if XPath expression doesn't match anything.
-
-
Method Detail
-
getXpathExpression
public String getXpathExpression()
- Returns:
- XPath expression.
-
getAttributeName
public String getAttributeName()
- Returns:
- XML attribute name.
-
getReplacementBehavior
public XmlReplacement.ReplacementBehavior getReplacementBehavior()
- Returns:
- ReplacementBehavior
-
-