com.google.appengine.tools.cloudstorage.oauth
Class XmlHandler
- java.lang.Object
-
- com.google.appengine.tools.cloudstorage.oauth.XmlHandler
-
public final class XmlHandler extends Object
A simpler XML handler. Handler is constructed with byte array content and a set of paths. Each matching path is represented as a collection of strings. Each next call would return an XmlEvent the content of an XML element that matched any part of the given paths. Matching is done against the closing XML element (this allows an easier way to group elements).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
XmlHandler.EventType
The type of the XmlEvent.static class
XmlHandler.XmlEvent
Information associated with the callback event.
-
-
-
Method Detail
-
hasNext
public boolean hasNext() throws XMLStreamException
- Throws:
XMLStreamException
-
next
public XmlHandler.XmlEvent next() throws XMLStreamException
- Throws:
XMLStreamException
-
-
Copyright © 2016 Google. All rights reserved.