Class PlannerFontWriter
- java.lang.Object
-
- com._1c.g5.v8.dt.export.xml.writer.FontWriter
-
- com._1c.g5.v8.dt.planner.export.xml.writer.PlannerFontWriter
-
- All Implemented Interfaces:
ISpecifiedElementWriter
public class PlannerFontWriter extends FontWriter
Class to write planner specific XML tag for aFont
-
-
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 PlannerFontWriter()
-
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
writeFont(ExportXmlStreamWriter writer, org.eclipse.emf.ecore.EStructuralFeature feature, Font font, QName elementQName)
Writes font withQName
-
-
-
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
- Overrides:
write
in classFontWriter
- 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
-
writeFont
public void writeFont(ExportXmlStreamWriter writer, org.eclipse.emf.ecore.EStructuralFeature feature, Font font, QName elementQName) throws XMLStreamException, ExportException
Description copied from class:FontWriter
Writes font withQName
- Overrides:
writeFont
in classFontWriter
- Parameters:
writer
- the writer, cannot benull
feature
- the feature, cannot benull
font
- the font, cannot benull
elementQName
- the element qualified name, cannot benull
- Throws:
XMLStreamException
- if unexpected processing errorsExportException
- if export processing errors
-
-