/** * Create a NodeIterator. * @param property property name * @param reverse whether to iterate in reverse * @param startWith first pointer to return * @return NodeIterator */ public NodeIterator createNodeIterator(String property, boolean reverse, NodePointer startWith) { return new PropertyIterator(this, property, reverse, startWith); }
public boolean setPosition(int position) { this.position = position; if (includeXmlLang) { return position == 1 || super.setPosition(position - 1); } return super.setPosition(position); } }
public boolean setPosition(int position) { return name == null ? setPositionAllProperties(position) : setPositionIndividualProperty(position); }
if (name != null) { if (!targetReady) { prepareForIndividualProperty(name); if (!setPosition(1)) { return null; reset();
prepareForIndividualProperty(name); int length = getLength(); int index; if (!reverse) {
public NodePointer getNodePointer() { return includeXmlLang && position == 1 ? new LangAttributePointer(parent) : super.getNodePointer(); }
public NodeIterator createNodeIterator( String property, boolean reverse, NodePointer startWith) { return new PropertyIterator(this, property, reverse, startWith); }