Class ChartScaleWriter
- java.lang.Object
-
- com._1c.g5.v8.dt.chart.export.xml.writer.SimpleFeatureElementWriter<ChartScale>
-
- com._1c.g5.v8.dt.chart.export.xml.writer.ChartScaleWriter
-
- All Implemented Interfaces:
ISpecifiedElementWriter
public class ChartScaleWriter extends SimpleFeatureElementWriter<ChartScale>
XML writer forChartScale
-
-
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 ChartScaleWriter()
-
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 void
writeSingleElement(ExportXmlStreamWriter writer, boolean writeEmpty, Version version, QName elementName, org.eclipse.emf.ecore.EObject value)
Write single value element-
Methods inherited from class com._1c.g5.v8.dt.chart.export.xml.writer.SimpleFeatureElementWriter
isForceWriteEmptyFeature, write, writeMultiElement
-
-
-
-
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<ChartScale>
- Parameters:
feature
- the key feature, cannot benull
- Returns:
true
if this writer accessible for given feature,false
in otherwise
-
writeSingleElement
protected void writeSingleElement(ExportXmlStreamWriter writer, boolean writeEmpty, Version version, QName elementName, org.eclipse.emf.ecore.EObject value) throws XMLStreamException, ExportException
Description copied from class:SimpleFeatureElementWriter
Write single value elementThis method can be overridden for specify custom rules writing
- Overrides:
writeSingleElement
in classSimpleFeatureElementWriter<ChartScale>
- Parameters:
writer
- the xmlExportXmlStreamWriter
, cannot benull
writeEmpty
- write empty element iftrue
or nothing iffalse
version
- the exporting projectVersion
, cannot benull
elementName
- the element name, cannot benull
value
- the object to write, cannot benull
- Throws:
XMLStreamException
ExportException
-
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<ChartScale>
- Parameters:
version
- the runtime version, cannot benull
- Returns:
- Ordered list of
EStructuralFeature
, nevernull
-
-