Package com._1c.g5.v8.dt.md.export.xml
Interface IXmlExporterExtension
-
public interface IXmlExporterExtension
XML exporter extension. Provides clients with abilitiy to override the default logic of file-based template exporting
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
copyTemplateWithLineFeedConversion(IExporter exporter, org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext, IExportArtifactBuilder artifactBuilder, Path source, Path target, LineFeedConverter.ConvertOption... options)
Overrides the copying procedureboolean
overridesTemplateCopying(org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext)
Checks if this extensions is able to override the default behavior of data copying of the template exporter.
-
-
-
Method Detail
-
overridesTemplateCopying
boolean overridesTemplateCopying(org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext)
Checks if this extensions is able to override the default behavior of data copying of the template exporter. See theFlowchartXmlExporter.work(org.eclipse.emf.ecore.EObject, com._1c.g5.v8.dt.export.xml.IExportContext, com._1c.g5.v8.dt.export.IExportArtifactBuilder, org.eclipse.core.runtime.IProgressMonitor)
orTemplateXmlExporter.work(org.eclipse.emf.ecore.EObject, com._1c.g5.v8.dt.export.xml.IExportContext, com._1c.g5.v8.dt.export.IExportArtifactBuilder, org.eclipse.core.runtime.IProgressMonitor)
for more information- Parameters:
eObject
- The template EObject. May not benull
exportContext
- Current export context. May not benull
- Returns:
- True if the extension is able to override the copying procedure
-
copyTemplateWithLineFeedConversion
void copyTemplateWithLineFeedConversion(IExporter exporter, org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext, IExportArtifactBuilder artifactBuilder, Path source, Path target, LineFeedConverter.ConvertOption... options)
Overrides the copying procedure- Parameters:
exporter
- The current exporter. May not benull
eObject
- The template EObject. May not benull
exportContext
- Current export context. May not benull
artifactBuilder
- The artifact builder. May not benull
source
- The path of the source file residing on the local file system. May not benull
target
- The path of the target file inside the artifact. May not benull
options
- The conversion options. May benull
or empty
-
-