public Element getPreviousSibling() { Element pe = getParentElement(); if (pe != null) return pe.getPreviousChild(this); return null; }