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