Class ChildAlignment
java.lang.Object
com.deltaxml.core.config.subtreeProcessing.ChildAlignment
This class represents child alignment specifiers for the subtree configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionChildAlignment(String childXpath, String keyXpath) Constructor with xpath to the child element and also the xpath to the associated key specifiers. -
Method Summary
Modifier and TypeMethodDescriptionGets the child XPath.Gets the key XPath.voidsetChildXpath(String childXpath) Sets the child XPath.voidsetKeyXpath(String keyXpath) Sets the key XPath.
-
Constructor Details
-
ChildAlignment
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
Gets the child XPath.- Returns:
- The XPath string representing the child element location.
-
setChildXpath
Sets the child XPath.- Parameters:
childXpath- The XPath string representing the child element location.- Throws:
IllegalArgumentException- if passed childXpath is invalid.
-
getKeyXpath
Gets the key XPath.- Returns:
- The XPath string representing the key location.
-
setKeyXpath
Sets the key XPath.- Parameters:
keyXpath- The XPath string representing the key location.- Throws:
IllegalArgumentException- if passed keyXpath is invalid.
-