com.atlassian.bamboo.utils.xml
Class SMInputCursorIterable
java.lang.Object
com.atlassian.bamboo.utils.xml.SMInputCursorIterable
- All Implemented Interfaces:
- java.lang.Iterable<org.codehaus.staxmate.in.SMInputCursor>
public class SMInputCursorIterable
- extends java.lang.Object
- implements java.lang.Iterable<org.codehaus.staxmate.in.SMInputCursor>
Simple wrapper that allows using foreach constructs and guavization of StaxMate cursor API
|
Method Summary |
static java.lang.Iterable<org.codehaus.staxmate.in.SMInputCursor> |
fromCursor(org.codehaus.staxmate.in.SMInputCursor cursor)
|
static java.lang.Iterable<org.codehaus.staxmate.in.SMInputCursor> |
fromCursor(org.codehaus.staxmate.in.SMInputCursor cursor,
org.codehaus.staxmate.in.SMFilter filter)
|
java.util.Iterator<org.codehaus.staxmate.in.SMInputCursor> |
iterator()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterator
public java.util.Iterator<org.codehaus.staxmate.in.SMInputCursor> iterator()
- Specified by:
iterator in interface java.lang.Iterable<org.codehaus.staxmate.in.SMInputCursor>
fromCursor
public static java.lang.Iterable<org.codehaus.staxmate.in.SMInputCursor> fromCursor(@NotNull
org.codehaus.staxmate.in.SMInputCursor cursor)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
fromCursor
public static java.lang.Iterable<org.codehaus.staxmate.in.SMInputCursor> fromCursor(@NotNull
org.codehaus.staxmate.in.SMInputCursor cursor,
@NotNull
org.codehaus.staxmate.in.SMFilter filter)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.