org.citygml4j.builder.jaxb.xml.io.reader
Class JAXBSimpleReader

java.lang.Object
  extended by org.citygml4j.builder.jaxb.xml.io.reader.AbstractJAXBReader
      extended by org.citygml4j.builder.jaxb.xml.io.reader.JAXBSimpleReader
All Implemented Interfaces:
CityGMLReader

public class JAXBSimpleReader
extends AbstractJAXBReader
implements CityGMLReader


Constructor Summary
JAXBSimpleReader(javax.xml.stream.XMLStreamReader reader, JAXBInputFactory factory, java.net.URI baseURI)
           
 
Method Summary
 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
equals, 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,
                        JAXBInputFactory factory,
                        java.net.URI baseURI)
                 throws CityGMLReadException
Throws:
CityGMLReadException
Method Detail

close

public void close()
           throws CityGMLReadException
Specified by:
close in interface CityGMLReader
Overrides:
close in class AbstractJAXBReader
Throws:
CityGMLReadException

hasNext

public boolean hasNext()
                throws CityGMLReadException
Specified by:
hasNext in interface CityGMLReader
Throws:
CityGMLReadException

nextFeature

public CityGML nextFeature()
                    throws CityGMLReadException
Specified by:
nextFeature in interface CityGMLReader
Throws:
CityGMLReadException

nextChunk

public XMLChunk nextChunk()
                   throws CityGMLReadException
Specified by:
nextChunk in interface CityGMLReader
Throws:
CityGMLReadException

isSetParentInfo

public boolean isSetParentInfo()
Specified by:
isSetParentInfo in interface CityGMLReader

getParentInfo

public ParentInfo getParentInfo()
Specified by:
getParentInfo in interface CityGMLReader