String childTag){\r
final Iterator<Element> iterator = getChildIterator(parent, childTag);\r
Iterable<Element> result = new Iterable<Element>(){\r
+ @Override\r
public Iterator<Element> iterator(){\r
return iterator;\r
}\r
* {@inheritDoc}\r
* @return {@inheritDoc}\r
*/\r
+ @Override\r
public boolean hasNext(){\r
if(this.next == null) return false;\r
return true;\r
* @return {@inheritDoc}\r
* @throws NoSuchElementException {@inheritDoc}\r
*/\r
+ @Override\r
public Element next() throws NoSuchElementException{\r
if(this.next == null) throw new NoSuchElementException();\r
Element result = this.next;\r
* {@inheritDoc}\r
* ※ 未サポート。\r
*/\r
+ @Override\r
public void remove(){\r
throw new UnsupportedOperationException();\r
}\r