Package com._1c.g5.v8.dt.export.xml
Interface IExporter
-
- All Known Implementing Classes:
BasicCommandXmlExporter
,BasicExporter
,CommonPictureXmlExporter
,EmptyRoleDescriptionXmlExporter
,ExchangePlanXmlExporter
,FlowchartXmlExporter
,FormXmlExporter
,HpwaXmlExporter
,MetadataHelpXmlExporter
,MetadataPictureXmlExporter
,MetadataXmlExporter
,ModuleExporter
,ParentConfigurationsBinaryExporter
,PredefinedXmlExporter
,RightsXmlExporter
,TemplateXmlExporter
,WsReferenceXmlExporter
,XdtoExporter
,XDTOPackageXmlExporter
public interface IExporter
Exporter of specific objects group.- See Also:
IExporterQualifier
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXPORTER_TRACE_OPTION
Trace option constant for xml exporting
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Path
getOutputPath(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Get path to export object.Path
getOutputPath(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, String fileExtension, Version version)
Get path to export object.boolean
isAppropriate(Version version, org.eclipse.emf.ecore.EObject eObject)
Determines exporter corresponds to the file and version.org.eclipse.core.runtime.IStatus
work(org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext, IExportArtifactBuilder artifactBuilder, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Method to build export of file in target folder.
-
-
-
Field Detail
-
EXPORTER_TRACE_OPTION
static final String EXPORTER_TRACE_OPTION
Trace option constant for xml exporting- See Also:
- Constant Field Values
-
-
Method Detail
-
isAppropriate
boolean isAppropriate(Version version, org.eclipse.emf.ecore.EObject eObject)
Determines exporter corresponds to the file and version.- Parameters:
version
- the version of 1C:Enterprise notnull
eObject
- the object for export notnull
- Returns:
- true if exporter can do work to this file and version, false if not
-
work
org.eclipse.core.runtime.IStatus work(org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext, IExportArtifactBuilder artifactBuilder, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Method to build export of file in target folder.- Parameters:
eObject
- the object for export, notnull
exportContext
- the static data for export, notnull
artifactBuilder
- the artifact builder, notnull
progressMonitor
- ui process monitor, notnull
- Returns:
IStatus
of export work result, nevernull
-
getOutputPath
default Path getOutputPath(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Get path to export object.- Parameters:
eObject
- the export object, notnull
feature
- the reference to child object, can benull
version
- the 1C:Runtime version, cannot benull
- Returns:
- the export path for this object or
null
if exporter not support this object
-
getOutputPath
Path getOutputPath(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, String fileExtension, Version version)
Get path to export object.- Parameters:
eObject
- the export object, notnull
feature
- the reference to child object, can benull
fileExtension
- the output file extension, can benull
version
- the 1C:Runtime version, cannot benull
- Returns:
- the export path for this object or
null
if exporter not support this object
-
-