Package com._1c.g5.v8.dt.md.resource
Class MdXmlSerializer
- java.lang.Object
-
- com._1c.g5.modeling.xml.serializer.XmlSerializer
-
- com._1c.g5.v8.dt.md.resource.MdXmlSerializer
-
- All Implemented Interfaces:
IXmlSerializer
public class MdXmlSerializer extends XmlSerializer
Customization of theXmlSerializer
that deals with the multi-versioning of the MD model
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.modeling.xml.serializer.XmlSerializer
XmlSerializer.EClassFeaturePair, XmlSerializer.EObjectFeaturePair
-
-
Field Summary
-
Fields inherited from class com._1c.g5.modeling.xml.serializer.XmlSerializer
anySimpleType, anyType, crossReferenceSerializer, declareSchemaLocation, declareSchemaLocationImplementation, declareXML, declareXSI, doc, elementHandler, encoding, escape, escapeURI, extendedMetaData, featureTable, flushThreshold, helper, idAttributeName, idAttributeNS, INDEX_LOOKUP, keepAttributeLocation, lastElementIsOpen, map, NAMESPACES_PREFIX_MAP, options, resourceEntityHandler, saveTypeInfo, usesManyFeature, XMI_TAG_NS, xmlResource, xmlSchemaTypePackage, xmlTypeInfo, xmlVersion, XSI_NO_NAMESPACE_SCHEMA_LOCATION, XSI_SCHEMA_LOCATION, XSI_TYPE_NS, XSI_XMLNS
-
-
Constructor Summary
Constructors Constructor Description MdXmlSerializer()
Constructs a serializerMdXmlSerializer(org.eclipse.emf.ecore.xmi.XMLHelper helper, Map<?,?> options)
Constructs a serializer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getContainmentReferenceName(IModelNode node)
-
Methods inherited from class com._1c.g5.modeling.xml.serializer.XmlSerializer
addNamespaceDeclarations, collectNamespaceDeclarations, convertURI, getDatatypeValue, getHelper, getHREFValue, getIDREFValue, getModelNodeName, getNonContainmentReferenceName, getOptions, init, isDuplicateURI, save, save, saveTypeAttribute, setFormater, setHelper, setOptions, startElement, traverse, write, writeAscii, writeNamespaceNode
-
-
-
-
Constructor Detail
-
MdXmlSerializer
public MdXmlSerializer()
Constructs a serializer
-
MdXmlSerializer
public MdXmlSerializer(org.eclipse.emf.ecore.xmi.XMLHelper helper, Map<?,?> options)
Constructs a serializer- Parameters:
helper
- The helper instance. May not benull
options
- Set of options. May benull
-
-
Method Detail
-
getContainmentReferenceName
protected String getContainmentReferenceName(IModelNode node)
- Overrides:
getContainmentReferenceName
in classXmlSerializer
-
-