/** * Gets the appropriateSibling attribute of the Selector object * * @param e PARAM * @param treeRes * @return The appropriateSibling value */ Object getAppropriateSibling(Object e, TreeResolver treeRes) { Object sibling = null; switch (_axis) { case IMMEDIATE_SIBLING_AXIS: sibling = treeRes.getPreviousSiblingElement(e); break; default: XRLog.exception("Bad sibling axis"); } return sibling; }