public class MoveCandidate
extends java.lang.Object
Constructor and Description |
---|
MoveCandidate(java.lang.String elemXpath)
Initialise a move candidate with only a move element XPath.
|
MoveCandidate(java.lang.String elemXpath,
java.lang.String classXpath)
Initialise a move candidate with both move element and class XPaths.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassXpath()
Gets the MoveCandidate class XPath.
|
java.lang.String |
getElemXpath()
Gets the MoveCandidate element XPath.
|
void |
setClassXpath(java.lang.String classXpath)
Sets the class XPath
|
void |
setElemXpath(java.lang.String elemXpath)
Sets the element XPath
|
public MoveCandidate(java.lang.String elemXpath, java.lang.String classXpath)
elemXpath
- The MoveCandidate element XPath.classXpath
- The MoveCandidate class XPath.public MoveCandidate(java.lang.String elemXpath)
elemXpath
- The MoveCandidate element XPath.public java.lang.String getElemXpath()
public void setElemXpath(java.lang.String elemXpath)
elemXpath
- An XPath can be set which will be used to select the element(s) to be moved.public java.lang.String getClassXpath()
public void setClassXpath(java.lang.String classXpath)
classXpath
- This optional parameter will specify a class of move candidates.