public abstract class XmlReader<T> extends Object
| Constructor and Description |
|---|
XmlReader() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<QName,String> |
attr() |
protected Iterable<com.google.common.base.Optional<String>> |
attr(Iterable<QName> names) |
protected com.google.common.base.Optional<String> |
attr(QName qn) |
protected com.google.common.base.Optional<String> |
attr(String name) |
protected void |
begin() |
protected String |
chars() |
protected <T> T |
delegate(XmlReader<? extends T> reader) |
protected abstract T |
finish() |
protected void |
ignore() |
T |
read(InputStream in) |
protected void |
read(QName name) |
protected QName |
tagName() |
public T read(InputStream in) throws XMLStreamException, DecodingException
XMLStreamExceptionDecodingExceptionprotected void read(QName name) throws XMLStreamException, DecodingException
XMLStreamExceptionDecodingExceptionprotected <T> T delegate(XmlReader<? extends T> reader) throws XMLStreamException, DecodingException
XMLStreamExceptionDecodingExceptionprotected QName tagName()
protected String chars() throws XMLStreamException
XMLStreamExceptionprotected void begin()
throws XMLStreamException,
DecodingException
XMLStreamExceptionDecodingExceptionprotected abstract T finish() throws DecodingException
DecodingExceptionprotected void ignore()
Copyright © 2016–2017 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.