Class ValueWriter
- java.lang.Object
-
- com._1c.g5.v8.dt.export.xml.writer.ValueWriter
-
- All Implemented Interfaces:
ISpecifiedElementWriter
- Direct Known Subclasses:
CharacteristicsDescriptionValueWriter
,PlannerValueWriter
public class ValueWriter extends Object implements ISpecifiedElementWriter
Specified writer forValue
-
-
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 interface com._1c.g5.v8.dt.export.xml.writer.ISpecifiedElementWriter
SMART_ELEMENT_WRITER
-
-
Constructor Summary
Constructors Constructor Description ValueWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(ExportXmlStreamWriter writer, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, boolean writeEmpty, Version version)
Write value from eObject-feature reference by specified rulesvoid
writeValue(ExportXmlStreamWriter writer, Object valueObject, QName elementName, boolean writeEmpty, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Write value.
-
-
-
Method Detail
-
write
public void write(ExportXmlStreamWriter writer, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature feature, boolean writeEmpty, Version version) throws XMLStreamException, ExportException
Description copied from interface:ISpecifiedElementWriter
Write value from eObject-feature reference by specified rules- Specified by:
write
in interfaceISpecifiedElementWriter
- Parameters:
writer
- the xmlExportXmlStreamWriter
, cannot benull
eObject
- context object, cannot benull
feature
- theEStructuralFeature
, cannot benull
writeEmpty
- write empty element iftrue
or nothing iffalse
version
- the exporting projectVersion
, cannot benull
- Throws:
XMLStreamException
- if unexpected processing errorsExportException
- if export processing errors
-
writeValue
public void writeValue(ExportXmlStreamWriter writer, Object valueObject, QName elementName, boolean writeEmpty, org.eclipse.emf.ecore.EStructuralFeature feature, Version version) throws XMLStreamException, ExportException
Write value.- Parameters:
writer
- the xmlExportXmlStreamWriter
, cannot benull
valueObject
- the value object, can benull
elementName
- the element name, cannot benull
writeEmpty
- write empty element iftrue
or nothing iffalse
feature
- theEStructuralFeature
, cannot benull
version
- the exporting projectVersion
, cannot benull
- Throws:
XMLStreamException
- if unexpected processing errorsExportException
- if export processing errors
-
-