Class JAXBSimpleReader
- java.lang.Object
-
- org.citygml4j.builder.jaxb.xml.io.reader.AbstractJAXBReader
-
- org.citygml4j.builder.jaxb.xml.io.reader.JAXBSimpleReader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,CityGMLReader
public class JAXBSimpleReader extends AbstractJAXBReader implements CityGMLReader
-
-
Constructor Summary
Constructors Constructor Description JAXBSimpleReader(javax.xml.stream.XMLStreamReader reader, java.io.InputStream in, JAXBInputFactory factory, java.net.URI baseURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
ParentInfo
getParentInfo()
boolean
hasNext()
boolean
isSetParentInfo()
XMLChunk
nextChunk()
CityGML
nextFeature()
-
Methods inherited from class org.citygml4j.builder.jaxb.xml.io.reader.AbstractJAXBReader
getBaseURI, isFilteredReader
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.citygml4j.xml.io.reader.CityGMLReader
getBaseURI
-
-
-
-
Constructor Detail
-
JAXBSimpleReader
public JAXBSimpleReader(javax.xml.stream.XMLStreamReader reader, java.io.InputStream in, JAXBInputFactory factory, java.net.URI baseURI) throws CityGMLReadException
- Throws:
CityGMLReadException
-
-
Method Detail
-
close
public void close() throws CityGMLReadException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceCityGMLReader
- Overrides:
close
in classAbstractJAXBReader
- Throws:
CityGMLReadException
-
hasNext
public boolean hasNext() throws CityGMLReadException
- Specified by:
hasNext
in interfaceCityGMLReader
- Throws:
CityGMLReadException
-
nextFeature
public CityGML nextFeature() throws CityGMLReadException
- Specified by:
nextFeature
in interfaceCityGMLReader
- Throws:
CityGMLReadException
-
nextChunk
public XMLChunk nextChunk() throws CityGMLReadException
- Specified by:
nextChunk
in interfaceCityGMLReader
- Throws:
CityGMLReadException
-
isSetParentInfo
public boolean isSetParentInfo()
- Specified by:
isSetParentInfo
in interfaceCityGMLReader
-
getParentInfo
public ParentInfo getParentInfo()
- Specified by:
getParentInfo
in interfaceCityGMLReader
-
-