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 booleanequals(Object obj)StringgetAttributeName()XmlReplacement.ReplacementBehaviorgetReplacementBehavior()StringgetXpathExpression()inthashCode()StringtoString()
-
-
-
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
-
-