/** * Gets the step as a fully defined XPath. * * @return the full XPath for this step */ public String getText() { StringBuffer buf = new StringBuffer(64); buf.append(getAxisName()).append("::"); if (getPrefix() != null && getPrefix().length() > 0) { buf.append(getPrefix()).append(':'); } return buf.append(getLocalName()).append(super.getText()).toString(); }