/** * {@inheritDoc} */ @Override public String toString() { final StringBuilder builder = new StringBuilder(); toString(builder); return builder.toString(); }
/** * {@inheritDoc} */ @Override public String toString() { final StringBuilder builder = new StringBuilder(); toString(builder); return builder.toString(); }
/** * Append the string representation of the attribute path to the provided * buffer. * * @param builder The buffer to which the string representation of the * attribute path is to be appended. */ public void toString(final StringBuilder builder) { if(schemaUrn != null) { builder.append(schemaUrn); builder.append(":"); } Iterator<Element> i = elements.iterator(); while(i.hasNext()) { i.next().toString(builder); if(i.hasNext()) { builder.append("."); } } } }
/** * Append the string representation of the attribute path to the provided * buffer. * * @param builder The buffer to which the string representation of the * attribute path is to be appended. */ public void toString(final StringBuilder builder) { if(schemaUrn != null) { builder.append(schemaUrn); builder.append(":"); } Iterator<Element> i = elements.iterator(); while(i.hasNext()) { i.next().toString(builder); if(i.hasNext()) { builder.append("."); } } } }