Class PlannerModelWriteHelper
- java.lang.Object
-
- com._1c.g5.v8.dt.planner.export.xml.writer.PlannerModelWriteHelper
-
public final class PlannerModelWriteHelper extends Object
Auxiliary class which contain routines for planner model object writes
-
-
Constructor Summary
Constructors Constructor Description PlannerModelWriteHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeFeatures(ExportXmlStreamWriter writer, org.eclipse.emf.ecore.EObject object, List<org.eclipse.emf.ecore.EStructuralFeature> featureList, boolean writeEmpty, Version version)
Writes specified features of provided object
-
-
-
Method Detail
-
writeFeatures
public void writeFeatures(ExportXmlStreamWriter writer, org.eclipse.emf.ecore.EObject object, List<org.eclipse.emf.ecore.EStructuralFeature> featureList, boolean writeEmpty, Version version) throws XMLStreamException, ExportException
Writes specified features of provided object- Parameters:
writer
- the XML writerobject
- the source objectfeatureList
- list of features to be writtenwriteEmpty
- true, to write empty/null referencesversion
- the version object- Throws:
XMLStreamException
- is throw in case of XML write errorExportException
- is thrown in case of general export error (e.g. incorrect feature list is provided)
-
-