public class EMOFSaveImpl extends XMISaveImpl
| Modifier and Type | Class and Description |
|---|---|
protected class |
EMOFSaveImpl.EMOFXMLTypeInfoImpl
Forces type information (xsi:type/xmi:type) to be serialized for references
in cases where the object's type is different from the feature's type,
except for the case of the eStructuralFeatures of an EClass,
because for that case, an EMOF Property instance will be serialized
and no xsi:type is needed for EMOF for that.
|
XMLSaveImpl.Escape, XMLSaveImpl.Lookup, XMLSaveImpl.XMLTypeInfoImplXMLSave.XMLTypeInfoXMI_ID_NS, XMI_TAG_NS, XMI_TYPE_NS, XMI_VER_NS, XMI_XMLNS, xmiType, xmiURIanySimpleType, 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 and Description |
|---|
EMOFSaveImpl(XMLHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getDatatypeValue(java.lang.Object value,
EStructuralFeature f,
boolean isAttribute) |
protected void |
init(XMLResource resource,
java.util.Map<?,?> options) |
protected void |
saveContainedMany(EObject o,
EStructuralFeature f) |
protected void |
saveContainedSingle(EObject o,
EStructuralFeature f) |
protected void |
saveDataTypeElementSingle(EObject o,
EStructuralFeature f) |
protected void |
saveExtensionFeature(EObject o,
EStructuralFeature f) |
protected boolean |
shouldSaveFeature(EObject o,
EStructuralFeature f) |
java.lang.Object |
writeTopObjects(java.util.List<? extends EObject> contents) |
addNamespaceDeclarations, isDuplicateURI, saveFeatureMapElementReference, saveTypeAttributeaddDoctypeInformation, convertURI, endSave, endSaveFeatures, getContent, getDataTypeElementSingleSimple, getElementIDRefManySimple, getElementIDRefSingleSimple, getElementReferenceManySimple, getElementReferenceSingleSimple, getSchemaLocationRoot, isEmpty, isNil, processAttributeExtensions, processElementExtensions, sameDocMany, sameDocSingle, save, save, save, saveAttributeFeatureMap, saveDataTypeAttributeMany, saveDataTypeMany, saveDataTypeSingle, saveElement, saveElement, saveElement, saveElementFeatureMap, saveElementID, saveElementIDRef, saveElementIDRef, saveElementIDRefMany, saveElementIDRefSingle, saveElementReference, saveElementReferenceMany, saveElementReferenceSingle, saveEObjectMany, saveEObjectSingle, saveFeatures, saveFeatures, saveHref, saveHRefMany, saveHRefSingle, saveIDRefMany, saveIDRefSingle, saveManyEmpty, saveManyEmpty, saveNil, saveNil, toChar, traverse, write, write, writeAscii, writeTopAttributes, writeTopElements, writeTopObjectpublic EMOFSaveImpl(XMLHelper helper)
protected void init(XMLResource resource, java.util.Map<?,?> options)
init in class XMISaveImplprotected boolean shouldSaveFeature(EObject o,
EStructuralFeature f)
shouldSaveFeature in class XMLSaveImplprotected void saveDataTypeElementSingle(EObject o,
EStructuralFeature f)
saveDataTypeElementSingle in class XMLSaveImplprotected java.lang.String getDatatypeValue(java.lang.Object value,
EStructuralFeature f,
boolean isAttribute)
getDatatypeValue in class XMLSaveImplprotected void saveExtensionFeature(EObject o,
EStructuralFeature f)
protected void saveContainedSingle(EObject o,
EStructuralFeature f)
saveContainedSingle in class XMLSaveImplprotected void saveContainedMany(EObject o,
EStructuralFeature f)
saveContainedMany in class XMLSaveImplpublic java.lang.Object writeTopObjects(java.util.List<? extends EObject> contents)
writeTopObjects in class XMISaveImplCopyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature