Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.gml.writer
Class CityGMLInstanceWriter

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
      extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractExportProvider
          extended by eu.esdihumboldt.hale.common.core.io.impl.GZipEnabledExport
              extended by eu.esdihumboldt.hale.common.instance.io.impl.AbstractInstanceWriter
                  extended by eu.esdihumboldt.hale.io.gml.writer.internal.StreamGmlWriter
                      extended by eu.esdihumboldt.hale.io.gml.writer.GmlInstanceWriter
                          extended by eu.esdihumboldt.hale.io.gml.writer.CityGMLInstanceWriter
All Implemented Interfaces:
ExportProvider, IOProvider, InstanceWriter, XmlWriterBase

public class CityGMLInstanceWriter
extends GmlInstanceWriter

Instance writer for CityGML schemas, using CityModel as container, with cityObjectMembers.

Author:
Simon Templer

Nested Class Summary
 
Nested classes/interfaces inherited from class eu.esdihumboldt.hale.common.core.io.impl.GZipEnabledExport
GZipEnabledExport.GZipOutputSupplier
 
Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.io.gml.writer.internal.StreamGmlWriter
PARAM_SIMPLIFY_GEOMETRY, SCHEMA_INSTANCE_NS
 
Fields inherited from interface eu.esdihumboldt.hale.io.gml.writer.XmlWriterBase
PARAM_ROOT_ELEMENT_NAME, PARAM_ROOT_ELEMENT_NAMESPACE
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
PARAM_CONTENT_TYPE
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.ExportProvider
PARAM_TARGET
 
Constructor Summary
CityGMLInstanceWriter()
           
 
Method Summary
protected  XmlElement findDefaultContainter(XmlIndex targetIndex, IOReporter reporter)
          Find the default container element.
protected  DefinitionPath findMemberAttribute(TypeDefinition container, QName containerName, TypeDefinition memberType)
          Find a matching attribute for the given member type in the given container type
 
Methods inherited from class eu.esdihumboldt.hale.io.gml.writer.GmlInstanceWriter
requiresDefaultContainer
 
Methods inherited from class eu.esdihumboldt.hale.io.gml.writer.internal.StreamGmlWriter
checkCompatibility, execute, getConfiguredContainerElement, getDefaultTypeName, getGeometryWriter, getXMLIndex, getXMLIndex, isCancelable, validate, write, writeMember
 
Methods inherited from class eu.esdihumboldt.hale.common.instance.io.impl.AbstractInstanceWriter
getInstances, getTargetSchema, getValidationSchemas, setInstances, setTargetSchema
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.GZipEnabledExport
getTarget
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractExportProvider
createReporter, setParameter, setTarget, storeConfiguration
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
addSupportedParameter, execute, fail, getContentType, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.io.gml.writer.XmlWriterBase
getTargetSchema
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
createReporter, execute, getContentType, getParameter, getSupportedParameters, loadConfiguration, setContentType, setParameter, storeConfiguration
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.ExportProvider
getTarget, setTarget
 

Constructor Detail

CityGMLInstanceWriter

public CityGMLInstanceWriter()
Method Detail

findDefaultContainter

protected XmlElement findDefaultContainter(XmlIndex targetIndex,
                                           IOReporter reporter)
Description copied from class: StreamGmlWriter
Find the default container element.

Overrides:
findDefaultContainter in class StreamGmlWriter
Parameters:
targetIndex - the target type index
reporter - the reporter, may be null
Returns:
the container XML element or null
See Also:
StreamGmlWriter.findDefaultContainter(XmlIndex, IOReporter)

findMemberAttribute

protected DefinitionPath findMemberAttribute(TypeDefinition container,
                                             QName containerName,
                                             TypeDefinition memberType)
Description copied from class: StreamGmlWriter
Find a matching attribute for the given member type in the given container type

Overrides:
findMemberAttribute in class StreamGmlWriter
Parameters:
container - the container type
containerName - the container element name
memberType - the member type
Returns:
the attribute definition or null
See Also:
StreamGmlWriter.findMemberAttribute(TypeDefinition, QName, TypeDefinition)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d