org.eclipse.emf.ecore.xmi.impl
Class EMOFResourceImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.NotifierImpl
org.eclipse.emf.ecore.resource.impl.ResourceImpl
org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
org.eclipse.emf.ecore.xmi.impl.EMOFResourceImpl
- All Implemented Interfaces:
- Notifier, Resource, Resource.Internal, XMIResource, XMLResource
- public class EMOFResourceImpl
- extends XMIResourceImpl
- implements XMIResource
This class represents an Ecore model serialized as an EMOF XMI file.
Fields inherited from interface org.eclipse.emf.ecore.xmi.XMLResource |
HREF, NIL, NO_NAMESPACE_SCHEMA_LOCATION, OPTION_ANY_SIMPLE_TYPE, OPTION_ANY_TYPE, OPTION_DECLARE_XML, OPTION_DISABLE_NOTIFY, OPTION_ENCODING, OPTION_EXTENDED_META_DATA, OPTION_FLUSH_THRESHOLD, OPTION_FORMATTED, OPTION_LINE_WIDTH, OPTION_PARSER_FEATURES, OPTION_PARSER_PROPERTIES, OPTION_PROCESS_DANGLING_HREF, OPTION_PROCESS_DANGLING_HREF_DISCARD, OPTION_PROCESS_DANGLING_HREF_RECORD, OPTION_PROCESS_DANGLING_HREF_THROW, OPTION_RECORD_UNKNOWN_FEATURE, OPTION_SAVE_DOCTYPE, OPTION_SAVE_TYPE_INFORMATION, OPTION_SCHEMA_LOCATION, OPTION_SCHEMA_LOCATION_IMPLEMENTATION, OPTION_SKIP_ESCAPE, OPTION_USE_ENCODED_ATTRIBUTE_STYLE, OPTION_USE_FILE_BUFFER, OPTION_USE_LEXICAL_HANDLER, OPTION_USE_PARSER_POOL, OPTION_USE_XML_NAME_TO_FEATURE_MAP, OPTION_XML_MAP, SCHEMA_LOCATION, TYPE, XML_NS, XML_SCHEMA_URI, XSI_NS, XSI_URI |
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl |
attached, attachedHelper, detached, detachedHelper, doLoad, doSave, doUnload, getDefaultLoadOptions, getDefaultSaveOptions, getEncoding, getEObjectByID, getEObjectToExtensionMap, getEObjectToIDMap, getIDToEObjectMap, getPublicId, getSystemId, getURIFragment, init, isPath, setDoctypeInfo, setEncoding, setID, setUseZip, toKeyString, useIDAttributes, useIDs, useUUIDs, useZip |
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl |
addModificationTrackingAdapters, basicSetResourceSet, createModificationTrackingAdapter, getAllContents, getContents, getDefaultURIConverter, getEObject, getEObject, getEObjectForURIFragmentRootSegment, getErrors, getResourceSet, getURI, getURIConverter, getURIFragmentRootSegment, getWarnings, isContentZipEntry, isLoaded, isModified, isTrackingModification, load, load, newContentZipEntry, removeModificationTrackingAdapters, save, save, setLoaded, setModified, setTrackingModification, setURI, toString, unload, unloaded |
Methods inherited from interface org.eclipse.emf.ecore.xmi.XMLResource |
getDefaultLoadOptions, getDefaultSaveOptions, getEncoding, getEObjectToExtensionMap, getEObjectToIDMap, getIDToEObjectMap, getPublicId, getSystemId, setDoctypeInfo, setEncoding, setID, setUseZip, useZip |
Methods inherited from interface org.eclipse.emf.ecore.resource.Resource |
getAllContents, getContents, getEObject, getErrors, getResourceSet, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, load, save, save, setModified, setTrackingModification, setURI, unload |
EMOFResourceImpl
public EMOFResourceImpl()
EMOFResourceImpl
public EMOFResourceImpl(URI uri)
createXMLHelper
protected XMLHelper createXMLHelper()
- Overrides:
createXMLHelper
in class XMIResourceImpl
createXMLLoad
protected XMLLoad createXMLLoad()
- Overrides:
createXMLLoad
in class XMIResourceImpl
createXMLSave
protected XMLSave createXMLSave()
- Overrides:
createXMLSave
in class XMIResourceImpl
getID
public String getID(EObject eObject)
- Description copied from interface:
XMLResource
- Returns the ID if there is one for the given object; if there is
no ID, it returns null.
- Specified by:
getID
in interface XMLResource
- Overrides:
getID
in class XMLResourceImpl
makeID
protected String makeID(EObject eObject)