Class FileHandler.XmlReplacementDetails

  • Enclosing interface:
    FileHandler

    public static class FileHandler.XmlReplacementDetails
    extends Object
    Represents details of an XML replacement.
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object