Class LabelAreaWriter
- java.lang.Object
-
- com._1c.g5.v8.dt.chart.export.xml.writer.SimpleFeatureElementWriter<LabelArea>
-
- com._1c.g5.v8.dt.chart.export.xml.writer.LabelAreaWriter
-
- All Implemented Interfaces:
ISpecifiedElementWriter
public class LabelAreaWriter extends SimpleFeatureElementWriter<LabelArea>
XML writer forLabelArea
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.export.xml.writer.ISpecifiedElementWriter
ISpecifiedElementWriter.ZeroWriter
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.chart.export.xml.writer.SimpleFeatureElementWriter
featureWriter, nameProvider
-
Fields inherited from interface com._1c.g5.v8.dt.export.xml.writer.ISpecifiedElementWriter
SMART_ELEMENT_WRITER
-
-
Constructor Summary
Constructors Constructor Description LabelAreaWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
accessibleFeature(org.eclipse.emf.ecore.EStructuralFeature feature)
Returns that specified feature can be written by this writerprotected List<org.eclipse.emf.ecore.EStructuralFeature>
getPropertyFeatureOrderList(Version version)
Ordered list of features to writeprotected boolean
isForceWriteEmptyFeature(boolean elementWriteEmpty, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Returns that contained empty or default value in specified feature must be written-
Methods inherited from class com._1c.g5.v8.dt.chart.export.xml.writer.SimpleFeatureElementWriter
write, writeMultiElement, writeSingleElement
-
-
-
-
Method Detail
-
accessibleFeature
protected boolean accessibleFeature(org.eclipse.emf.ecore.EStructuralFeature feature)
Description copied from class:SimpleFeatureElementWriter
Returns that specified feature can be written by this writer- Specified by:
accessibleFeature
in classSimpleFeatureElementWriter<LabelArea>
- Parameters:
feature
- the key feature, cannot benull
- Returns:
true
if this writer accessible for given feature,false
in otherwise
-
isForceWriteEmptyFeature
protected boolean isForceWriteEmptyFeature(boolean elementWriteEmpty, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Description copied from class:SimpleFeatureElementWriter
Returns that contained empty or default value in specified feature must be written- Overrides:
isForceWriteEmptyFeature
in classSimpleFeatureElementWriter<LabelArea>
- Parameters:
elementWriteEmpty
- the common write empty value for context objectfeature
- the key feature, cannot benull
version
- the exporting projectVersion
, cannot benull
- Returns:
true
to force writing feature with empty or default value,false
otherwise
-
getPropertyFeatureOrderList
protected List<org.eclipse.emf.ecore.EStructuralFeature> getPropertyFeatureOrderList(Version version)
Description copied from class:SimpleFeatureElementWriter
Ordered list of features to write- Specified by:
getPropertyFeatureOrderList
in classSimpleFeatureElementWriter<LabelArea>
- Parameters:
version
- the runtime version, cannot benull
- Returns:
- Ordered list of
EStructuralFeature
, nevernull
-
-