Package org.n52.svalbard.read
Class XmlReader<T>
java.lang.Object
org.n52.svalbard.read.XmlReader<T>
- Direct Known Subclasses:
AbstractFeatureReader,AddressRepresentationReader,ChoiceReader,CodeTypeReader,ContactReader,FreeTextReader,GeographicalNameReader,InpireIDReader,ListReader,NillableReader,PronunciationOfNameReader,ReferenceableReader,ReferenceReader,RelatedPartyReader,ReportingHeaderReader,SpellingOfNameReader,StringReader,SubtagReader,TimeInstantReader,TimePeriodReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattr()protected com.google.common.base.Optional<String> protected com.google.common.base.Optional<String> protected voidbegin()protected Stringchars()protected <T> Tprotected abstract Tfinish()protected voidignore()read(InputStream in) protected voidprotected QNametagName()
-
Constructor Details
-
XmlReader
public XmlReader()
-
-
Method Details
-
read
- Throws:
XMLStreamExceptionDecodingException
-
read
- Throws:
XMLStreamExceptionDecodingException
-
delegate
protected <T> T delegate(XmlReader<? extends T> reader) throws XMLStreamException, DecodingException - Throws:
XMLStreamExceptionDecodingException
-
attr
-
attr
-
attr
-
attr
-
tagName
-
chars
- Throws:
XMLStreamException
-
begin
- Throws:
XMLStreamExceptionDecodingException
-
finish
- Throws:
DecodingException
-
ignore
protected void ignore()
-