- java.lang.Object
-
- org.citygml4j.xml.reader.CityGMLInputFactory
-
public class CityGMLInputFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFAIL_ON_MISSING_ADE_SCHEMA
-
Constructor Summary
Constructors Constructor Description CityGMLInputFactory(CityGMLContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CityGMLReadercreateCityGMLReader(java.io.File file)CityGMLReadercreateCityGMLReader(java.io.File file, java.lang.String encoding)CityGMLReadercreateCityGMLReader(java.io.InputStream stream)CityGMLReadercreateCityGMLReader(java.io.InputStream stream, java.lang.String encoding)CityGMLReadercreateCityGMLReader(java.io.Reader reader)CityGMLReadercreateCityGMLReader(java.lang.String systemId, java.io.InputStream stream)CityGMLReadercreateCityGMLReader(java.lang.String systemId, java.io.InputStream stream, java.lang.String encoding)CityGMLReadercreateCityGMLReader(java.lang.String systemId, java.io.Reader reader)CityGMLReadercreateCityGMLReader(java.nio.file.Path path)CityGMLReadercreateCityGMLReader(java.nio.file.Path path, java.lang.String encoding)CityGMLReadercreateCityGMLReader(javax.xml.stream.XMLStreamReader reader)CityGMLReadercreateCityGMLReader(javax.xml.transform.Source source)CityGMLReadercreateFilteredCityGMLReader(CityGMLReader reader, CityGMLInputFilter filter)CityGMLInputFactorycreateGenericADEContent(boolean createGenericADEContent)CityGMLInputFactoryfailOnMissingADESchema(boolean failOnMissingADESchema)ChunkOptionsgetChunkOptions()org.xmlobjects.gml.util.id.IdCreatorgetIdCreator()org.xmlobjects.util.PropertiesgetProperties()org.xmlobjects.gml.util.reference.ReferenceResolvergetReferenceResolver()CityGMLSchemaHandlergetSchemaHandler()TransformerPipelinegetTransformer()javax.xml.stream.XMLReportergetXMLReporter()javax.xml.stream.XMLResolvergetXMLResolver()booleanisCreateGenericADEContent()booleanisFailOnMissingADESchema()CityGMLInputFactorywithChunking()CityGMLInputFactorywithChunking(ChunkOptions chunkOptions)CityGMLInputFactorywithIdCreator(org.xmlobjects.gml.util.id.IdCreator idCreator)CityGMLInputFactorywithProperty(java.lang.String name, java.lang.Object value)CityGMLInputFactorywithReferenceResolver(org.xmlobjects.gml.util.reference.ReferenceResolver resolver)CityGMLInputFactorywithSchemaHandler(CityGMLSchemaHandler schemaHandler)CityGMLInputFactorywithTransformer(TransformerPipeline transformer)CityGMLInputFactorywithXMLReporter(javax.xml.stream.XMLReporter reporter)CityGMLInputFactorywithXMLResolver(javax.xml.stream.XMLResolver resolver)
-
-
-
Field Detail
-
FAIL_ON_MISSING_ADE_SCHEMA
public static final java.lang.String FAIL_ON_MISSING_ADE_SCHEMA
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CityGMLInputFactory
public CityGMLInputFactory(CityGMLContext context) throws CityGMLReadException
- Throws:
CityGMLReadException
-
-
Method Detail
-
getSchemaHandler
public CityGMLSchemaHandler getSchemaHandler()
-
withSchemaHandler
public CityGMLInputFactory withSchemaHandler(CityGMLSchemaHandler schemaHandler)
-
isCreateGenericADEContent
public boolean isCreateGenericADEContent()
-
createGenericADEContent
public CityGMLInputFactory createGenericADEContent(boolean createGenericADEContent)
-
isFailOnMissingADESchema
public boolean isFailOnMissingADESchema()
-
failOnMissingADESchema
public CityGMLInputFactory failOnMissingADESchema(boolean failOnMissingADESchema)
-
getChunkOptions
public ChunkOptions getChunkOptions()
-
withChunking
public CityGMLInputFactory withChunking(ChunkOptions chunkOptions)
-
withChunking
public CityGMLInputFactory withChunking()
-
getTransformer
public TransformerPipeline getTransformer()
-
withTransformer
public CityGMLInputFactory withTransformer(TransformerPipeline transformer)
-
getReferenceResolver
public org.xmlobjects.gml.util.reference.ReferenceResolver getReferenceResolver()
-
withReferenceResolver
public CityGMLInputFactory withReferenceResolver(org.xmlobjects.gml.util.reference.ReferenceResolver resolver)
-
getIdCreator
public org.xmlobjects.gml.util.id.IdCreator getIdCreator()
-
withIdCreator
public CityGMLInputFactory withIdCreator(org.xmlobjects.gml.util.id.IdCreator idCreator)
-
getXMLReporter
public javax.xml.stream.XMLReporter getXMLReporter()
-
withXMLReporter
public CityGMLInputFactory withXMLReporter(javax.xml.stream.XMLReporter reporter)
-
getXMLResolver
public javax.xml.stream.XMLResolver getXMLResolver()
-
withXMLResolver
public CityGMLInputFactory withXMLResolver(javax.xml.stream.XMLResolver resolver)
-
getProperties
public org.xmlobjects.util.Properties getProperties()
-
withProperty
public CityGMLInputFactory withProperty(java.lang.String name, java.lang.Object value)
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.io.File file) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.io.File file, java.lang.String encoding) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.nio.file.Path path) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.nio.file.Path path, java.lang.String encoding) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.io.InputStream stream) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.io.InputStream stream, java.lang.String encoding) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.lang.String systemId, java.io.InputStream stream) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.lang.String systemId, java.io.InputStream stream, java.lang.String encoding) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.io.Reader reader) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(java.lang.String systemId, java.io.Reader reader) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(javax.xml.transform.Source source) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createCityGMLReader
public CityGMLReader createCityGMLReader(javax.xml.stream.XMLStreamReader reader) throws CityGMLReadException
- Throws:
CityGMLReadException
-
createFilteredCityGMLReader
public CityGMLReader createFilteredCityGMLReader(CityGMLReader reader, CityGMLInputFilter filter)
-
-