- java.lang.Object
-
- org.citygml4j.xml.reader.CityGMLReader
-
- org.citygml4j.xml.reader.CityGMLChunkReader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CityGMLChunkReader extends CityGMLReader
-
-
Constructor Summary
Constructors Constructor Description CityGMLChunkReader(org.xmlobjects.stream.XMLReader reader, ChunkOptions chunkOptions, org.xmlobjects.gml.util.id.IdCreator idCreator, org.xmlobjects.stream.XMLReaderFactory factory, CityGMLContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()FeatureInfogetParentInfo()booleanhasNext()booleanhasParentInfo()org.citygml4j.core.model.core.AbstractFeaturenext()CityGMLChunknextChunk()-
Methods inherited from class org.citygml4j.xml.reader.CityGMLReader
getBaseURI, getName, getNamespaces, getPrefix
-
-
-
-
Constructor Detail
-
CityGMLChunkReader
public CityGMLChunkReader(org.xmlobjects.stream.XMLReader reader, ChunkOptions chunkOptions, org.xmlobjects.gml.util.id.IdCreator idCreator, org.xmlobjects.stream.XMLReaderFactory factory, CityGMLContext context)
-
-
Method Detail
-
hasNext
public boolean hasNext() throws CityGMLReadException- Specified by:
hasNextin classCityGMLReader- Throws:
CityGMLReadException
-
next
public org.citygml4j.core.model.core.AbstractFeature next() throws CityGMLReadException- Specified by:
nextin classCityGMLReader- Throws:
CityGMLReadException
-
nextChunk
public CityGMLChunk nextChunk() throws CityGMLReadException
- Specified by:
nextChunkin classCityGMLReader- Throws:
CityGMLReadException
-
hasParentInfo
public boolean hasParentInfo()
- Overrides:
hasParentInfoin classCityGMLReader
-
getParentInfo
public FeatureInfo getParentInfo() throws CityGMLReadException
- Overrides:
getParentInfoin classCityGMLReader- Throws:
CityGMLReadException
-
close
public void close() throws CityGMLReadException- Specified by:
closein interfacejava.lang.AutoCloseable- Overrides:
closein classCityGMLReader- Throws:
CityGMLReadException
-
-