Class ChildAlignment

java.lang.Object
com.deltaxml.core.config.subtreeProcessing.ChildAlignment

public class ChildAlignment extends Object
This class represents child alignment specifiers for the subtree configuration.
  • Constructor Details

    • ChildAlignment

      public ChildAlignment(String childXpath, String keyXpath)
      Constructor with xpath to the child element and also the xpath to the associated key specifiers.
      Parameters:
      childXpath - The XPath string representing the child element location.
      keyXpath - The XPath string representing the key location.
      Throws:
      IllegalArgumentException - if passed childXpath or keyXpath is invalid.
  • Method Details

    • getChildXpath

      public String getChildXpath()
      Gets the child XPath.
      Returns:
      The XPath string representing the child element location.
    • setChildXpath

      public void setChildXpath(String childXpath)
      Sets the child XPath.
      Parameters:
      childXpath - The XPath string representing the child element location.
      Throws:
      IllegalArgumentException - if passed childXpath is invalid.
    • getKeyXpath

      public String getKeyXpath()
      Gets the key XPath.
      Returns:
      The XPath string representing the key location.
    • setKeyXpath

      public void setKeyXpath(String keyXpath)
      Sets the key XPath.
      Parameters:
      keyXpath - The XPath string representing the key location.
      Throws:
      IllegalArgumentException - if passed keyXpath is invalid.