public class CityGMLXsltExport extends XsltExport implements CityGMLConstants, GMLConstants, XsltConstants
CITY_MODEL_ELEMENT, CITY_OBJECT_MEMBER_ELEMENT, CITYGML_NAMESPACE_CORE
GML_NAMESPACE_CORE, NS_GML, NS_GML_32
NS_CUSTOM_XSL, NS_PREFIX_CUSTOM_XSL, NS_PREFIX_XS, NS_PREFIX_XSI, NS_PREFIX_XSL, NS_PREFIX_XSL_DEFINITIONS, NS_URI_XSL, NS_XSL_DEFINITIONS
PARAM_ROOT_ELEMENT_NAME, PARAM_ROOT_ELEMENT_NAMESPACE
PARAM_CHARSET, PARAM_CONTENT_TYPE
PARAM_TARGET
Constructor and Description |
---|
CityGMLXsltExport() |
Modifier and Type | Method and Description |
---|---|
protected SourceContextProvider |
getSourceContext()
Get the custom source context provider to use during the export.
|
protected void |
init(XmlIndex sourceIndex,
XmlIndex targetIndex)
Initialize the provider before execution.
|
protected void |
writeContainerIntro(XMLStreamWriter writer,
XsltGenerationContext context)
Write additional content into the container before it is populated by the
type relations.
|
execute, getDefaultTypeName, getTargetSchema, isCancelable, setProjectInfo, validate
getAlignment, getProjectInfo, getProjectLocation, getSourceSchema, setAlignment, setProjectLocation, setSourceSchema, setTargetSchema
createReporter, getTarget, setParameter, setTarget, storeConfiguration
addSupportedParameter, execute, fail, getCharset, getContentType, getDefaultCharset, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setCharset, setContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createReporter, execute, getCharset, getContentType, getParameter, getSupportedParameters, loadConfiguration, setCharset, setContentType, setParameter, storeConfiguration
setProjectLocation
getTarget, setTarget
protected void init(XmlIndex sourceIndex, XmlIndex targetIndex) throws IOProviderConfigurationException
XsltExport
init
in class XsltExport
sourceIndex
- the source schematargetIndex
- the target schemaIOProviderConfigurationException
- if the initialization was not
successful and the execution should not proceedprotected void writeContainerIntro(XMLStreamWriter writer, XsltGenerationContext context) throws XMLStreamException, IOException
XsltExport
writeContainerIntro
in class XsltExport
writer
- the XML stream writercontext
- the XSLT generation contextXMLStreamException
- if an error occurs while writing to the
containerIOException
- if an error occurs writing to the fileprotected SourceContextProvider getSourceContext()
XsltExport
getSourceContext
in class XsltExport
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a