public class XmlReader extends Object
| Constructor and Description |
|---|
XmlReader(InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
elementNameIs(String name) |
String |
getAttribute(String name) |
String |
getName() |
String |
getNextElementText(String elementName) |
XMLEvent |
getPeek() |
String |
getText() |
boolean |
isEnd() |
boolean |
isStart() |
boolean |
isText() |
void |
proceedToNextElement() |
void |
proceedToTheNextStartElement() |
public XmlReader(InputStream stream) throws XMLStreamException
XMLStreamExceptionpublic boolean isStart()
throws XmlReaderException
XmlReaderExceptionpublic void proceedToTheNextStartElement()
throws XmlReaderException
XmlReaderExceptionpublic boolean isEnd()
throws XmlReaderException
XmlReaderExceptionpublic String getAttribute(String name) throws XmlReaderException
XmlReaderExceptionpublic boolean isText()
throws XmlReaderException
XmlReaderExceptionpublic String getText() throws XmlReaderException
XmlReaderExceptionpublic String getNextElementText(String elementName) throws XmlReaderException
XmlReaderExceptionpublic void proceedToNextElement()
throws XmlReaderException
XmlReaderExceptionpublic boolean elementNameIs(String name) throws XmlReaderException
XmlReaderExceptionpublic XMLEvent getPeek() throws XmlReaderException
XmlReaderExceptionpublic String getName() throws XmlReaderException
XmlReaderExceptionCopyright © 2020. All rights reserved.