Package com._1c.g5.v8.dt.export.xml
Class UnionExporterQualifier
- java.lang.Object
-
- com._1c.g5.v8.dt.export.xml.UnionExporterQualifier
-
- All Implemented Interfaces:
IExporterQualifier
public class UnionExporterQualifier extends Object implements IExporterQualifier
Creates a union-based qualifier that qualifies exporters with a list of provided qualifiers.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.export.xml.IExporterQualifier
IExporterQualifier.NullExporterQualifier
-
-
Constructor Summary
Constructors Constructor Description UnionExporterQualifier(List<IExporterQualifier> qualifiers)
Creates an instance ofUnionExporterQualifier
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IExporterQualifier
combine(IExporterQualifier... qualifiers)
Creates an instance ofUnionExporterQualifier
.boolean
qualify(IExporter exporter, Version version, org.eclipse.emf.ecore.EObject eObject)
Qualify whether need to use the providedIExporter
for the provided object and version.
-
-
-
Constructor Detail
-
UnionExporterQualifier
public UnionExporterQualifier(List<IExporterQualifier> qualifiers)
Creates an instance ofUnionExporterQualifier
.- Parameters:
qualifiers
- a list of qualifiers to use, cannot benull
-
-
Method Detail
-
combine
public static IExporterQualifier combine(IExporterQualifier... qualifiers)
Creates an instance ofUnionExporterQualifier
.- Parameters:
qualifiers
- an array of qualifiers to use, cannot benull
-
qualify
public boolean qualify(IExporter exporter, Version version, org.eclipse.emf.ecore.EObject eObject)
Description copied from interface:IExporterQualifier
Qualify whether need to use the providedIExporter
for the provided object and version.- Specified by:
qualify
in interfaceIExporterQualifier
- Parameters:
exporter
- the exporter to check, cannot benull
version
- the 1C:Enterprise runtime version, cannot benull
eObject
- the object to export, cannot benull
- Returns:
- whether need to use the provider
IExporter
for the provided object and version
-
-