Package com._1c.g5.v8.dt.export.xml
Class BasicExporter
- java.lang.Object
-
- com._1c.g5.v8.dt.export.xml.BasicExporter
-
- All Implemented Interfaces:
IExporter
- Direct Known Subclasses:
CommonPictureXmlExporter
,EmptyRoleDescriptionXmlExporter
,ExchangePlanXmlExporter
,FlowchartXmlExporter
,FormXmlExporter
,HpwaXmlExporter
,MetadataHelpXmlExporter
,MetadataPictureXmlExporter
,MetadataXmlExporter
,ModuleExporter
,ParentConfigurationsBinaryExporter
,PredefinedXmlExporter
,RightsXmlExporter
,TemplateXmlExporter
,WsReferenceXmlExporter
,XdtoExporter
,XDTOPackageXmlExporter
public abstract class BasicExporter extends Object implements IExporter
Basic exporter of specific objects group
-
-
Field Summary
Fields Modifier and Type Field Description protected ExportDebugTrace
debugTrace
-
Fields inherited from interface com._1c.g5.v8.dt.export.xml.IExporter
EXPORTER_TRACE_OPTION
-
-
Constructor Summary
Constructors Constructor Description BasicExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
getOutputPath(org.eclipse.emf.ecore.EObject eObject, Version version)
Get path to export objectPath
getOutputPath(org.eclipse.emf.ecore.EObject eObject, String fileExtension, Version version)
Get path to export objectPath
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)
Default implementation checks whether registered extporter qualifier qualifies the provided arguments.
-
-
-
Field Detail
-
debugTrace
protected final ExportDebugTrace debugTrace
-
-
Method Detail
-
isAppropriate
public boolean isAppropriate(Version version, org.eclipse.emf.ecore.EObject eObject)
Default implementation checks whether registered extporter qualifier qualifies the provided arguments.- Specified by:
isAppropriate
in interfaceIExporter
- 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
-
getOutputPath
public Path getOutputPath(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Description copied from interface:IExporter
Get path to export object.- Specified by:
getOutputPath
in interfaceIExporter
- 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
public Path getOutputPath(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, String fileExtension, Version version)
Description copied from interface:IExporter
Get path to export object.- Specified by:
getOutputPath
in interfaceIExporter
- 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
-
getOutputPath
public Path getOutputPath(org.eclipse.emf.ecore.EObject eObject, Version version)
Get path to export object- Parameters:
eObject
- the export object, notnull
version
- the 1C:Runtime version, cannot benull
- Returns:
- the export path for this object or
null
if exporter not support this object
-
getOutputPath
public Path getOutputPath(org.eclipse.emf.ecore.EObject eObject, String fileExtension, Version version)
Get path to export object- Parameters:
eObject
- the export object, notnull
fileExtension
- the ouput 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
-
-