Class XmiSaveImpl
- java.lang.Object
- 
- org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
- 
- com._1c.g5.modeling.xml.serializer.XmlSaveImpl
- 
- com._1c.g5.modeling.xml.serializer.XmiSaveImpl
 
 
 
- 
- All Implemented Interfaces:
- IXmlSerializer,- org.eclipse.emf.ecore.xmi.XMLSave
 
 public class XmiSaveImpl extends XmlSaveImpl Расширенная реализация xmi сериалайзера. Поддерживает сохранение символических ссылок и абстрактных типов соглассно аннотациям mapping модели. Специфичная для xmi часть взята изXMISaveImpl
- 
- 
Field SummaryFields Modifier and Type Field Description protected static StringXMI_ID_NSprotected static StringXMI_TAG_NSprotected static StringXMI_TYPE_NSprotected static StringXMI_VER_NSprotected static StringXMI_XMLNSprotected booleanxmiTypeprotected StringxmiURI- 
Fields inherited from class com._1c.g5.modeling.xml.serializer.XmlSaveImplcrossReferenceSerializer
 - 
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMLSaveImplanySimpleType, anyType, ATTRIBUTE_FEATURE_MAP, CONTENT_ELEMENT, CROSS_DOC, currentNode, DATATYPE_ATTRIBUTE_MANY, DATATYPE_CONTENT_SINGLE, DATATYPE_ELEMENT_SINGLE, DATATYPE_MANY, DATATYPE_SINGLE, DATATYPE_SINGLE_NILLABLE, declareSchemaLocation, declareSchemaLocationImplementation, declareXML, declareXSI, doc, document, ELEMENT_FEATURE_MAP, elementHandler, EMPTY_ELEMENT, encoding, eObjectToExtensionMap, escape, escapeURI, extendedMetaData, featureTable, flushThreshold, handler, helper, idAttributeName, idAttributeNS, INDEX_LOOKUP, keepDefaults, map, nameInfo, OBJECT_ATTRIBUTE_IDREF_MANY, OBJECT_ATTRIBUTE_IDREF_SINGLE, OBJECT_ATTRIBUTE_MANY, OBJECT_ATTRIBUTE_SINGLE, OBJECT_CONTAIN_MANY, OBJECT_CONTAIN_MANY_UNSETTABLE, OBJECT_CONTAIN_SINGLE, OBJECT_CONTAIN_SINGLE_UNSETTABLE, OBJECT_ELEMENT_IDREF_MANY, OBJECT_ELEMENT_IDREF_SINGLE, OBJECT_ELEMENT_IDREF_SINGLE_UNSETTABLE, OBJECT_ELEMENT_MANY, OBJECT_ELEMENT_SINGLE, OBJECT_ELEMENT_SINGLE_UNSETTABLE, OBJECT_HREF_MANY, OBJECT_HREF_MANY_UNSETTABLE, OBJECT_HREF_SINGLE, OBJECT_HREF_SINGLE_UNSETTABLE, processDanglingHREF, proxyAttributes, resourceEntityHandler, root, roots, SAME_DOC, saveTypeInfo, SKIP, toDOM, TRANSIENT, useCache, useEncodedAttributeStyle, XML_VERSION, xmlResource, xmlSchemaTypePackage, xmlTypeInfo, xmlVersion, XSI_NIL, XSI_NO_NAMESPACE_SCHEMA_LOCATION, XSI_SCHEMA_LOCATION, XSI_TYPE_NS, XSI_XMLNS
 
- 
 - 
Constructor SummaryConstructors Constructor Description XmiSaveImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNamespaceDeclarations()protected voidinit(org.eclipse.emf.ecore.xmi.XMLResource resource, Map<?,?> options)booleanisDuplicateURI(String nsURI)protected voidsaveFeatureMapElementReference(org.eclipse.emf.ecore.EObject o, org.eclipse.emf.ecore.EReference f)protected voidsaveTypeAttribute(org.eclipse.emf.ecore.EClass eClass)ObjectwriteTopObjects(List<? extends org.eclipse.emf.ecore.EObject> contents)- 
Methods inherited from class com._1c.g5.modeling.xml.serializer.XmlSaveImplfindNameInAnnotations, getCrossReferenceSerializer, init, save, saveElement, saveElementReference, saveElementReferenceMany, saveElementReferenceSingle, saveEObjectMany, saveEObjectSingle, saveHref, saveHRefMany, saveHRefSingle, saveIDRefMany, saveIDRefSingle, setCrossReferenceSerializer, setFormater, setXMLHelper
 - 
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLSaveImpladdDoctypeInformation, convertURI, endSave, endSaveFeatures, getContent, getDataTypeElementSingleSimple, getDatatypeValue, getElementIDRefManySimple, getElementIDRefSingleSimple, getElementReferenceManySimple, getElementReferenceSingleSimple, getSchemaLocationRoot, isEmpty, isNil, processAttributeExtensions, processElementExtensions, sameDocMany, sameDocSingle, save, save, save, saveAttributeFeatureMap, saveContainedMany, saveContainedSingle, saveDataTypeAttributeMany, saveDataTypeElementSingle, saveDataTypeMany, saveDataTypeSingle, saveElement, saveElement, saveElementFeatureMap, saveElementID, saveElementIDRef, saveElementIDRef, saveElementIDRefMany, saveElementIDRefSingle, saveElementReference, saveFeatures, saveFeatures, saveHref, saveManyEmpty, saveManyEmpty, saveNil, saveNil, saveTypeAttribute, shouldSaveFeature, toChar, traverse, write, write, writeAscii, writeTopAttributes, writeTopElements, writeTopObject
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.modeling.xml.serializer.IXmlSerializersave
 
- 
 
- 
- 
- 
Field Detail- 
xmiTypeprotected boolean xmiType 
 - 
xmiURIprotected String xmiURI 
 - 
XMI_ID_NSprotected static final String XMI_ID_NS - See Also:
- Constant Field Values
 
 - 
XMI_TAG_NSprotected static final String XMI_TAG_NS - See Also:
- Constant Field Values
 
 - 
XMI_TYPE_NSprotected static final String XMI_TYPE_NS - See Also:
- Constant Field Values
 
 - 
XMI_VER_NSprotected static final String XMI_VER_NS - See Also:
- Constant Field Values
 
 - 
XMI_XMLNSprotected static final String XMI_XMLNS - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
initprotected void init(org.eclipse.emf.ecore.xmi.XMLResource resource, Map<?,?> options)- Overrides:
- initin class- XmlSaveImpl
 
 - 
writeTopObjectspublic Object writeTopObjects(List<? extends org.eclipse.emf.ecore.EObject> contents) - Overrides:
- writeTopObjectsin class- org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
 
 - 
saveTypeAttributeprotected void saveTypeAttribute(org.eclipse.emf.ecore.EClass eClass) - Overrides:
- saveTypeAttributein class- org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
 
 - 
addNamespaceDeclarationspublic void addNamespaceDeclarations() - Overrides:
- addNamespaceDeclarationsin class- org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
 
 - 
isDuplicateURIpublic boolean isDuplicateURI(String nsURI) - Overrides:
- isDuplicateURIin class- org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
 
 - 
saveFeatureMapElementReferenceprotected void saveFeatureMapElementReference(org.eclipse.emf.ecore.EObject o, org.eclipse.emf.ecore.EReference f)- Overrides:
- saveFeatureMapElementReferencein class- org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
 
 
- 
 
-