
public class CDOResourceImpl extends CDOResourceLeafImpl implements CDOResource, InternalCDOResource
The following features are implemented:
| Modifier and Type | Class and Description |
|---|---|
protected class |
CDOResourceImpl.ContentsCDOList
An implementation of a CDO specific 'contents' list.
|
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Containerorg.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterListorg.eclipse.emf.ecore.xmi.XMLResource.ElementHandler, org.eclipse.emf.ecore.xmi.XMLResource.MissingPackageHandler, org.eclipse.emf.ecore.xmi.XMLResource.ResourceEntityHandler, org.eclipse.emf.ecore.xmi.XMLResource.ResourceHandler, org.eclipse.emf.ecore.xmi.XMLResource.URIHandler, org.eclipse.emf.ecore.xmi.XMLResource.XMLInfo, org.eclipse.emf.ecore.xmi.XMLResource.XMLMaporg.eclipse.emf.ecore.resource.Resource.Diagnostic, org.eclipse.emf.ecore.resource.Resource.Factory, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.resource.Resource.IOWrappedExceptionEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETOPTION_SAVE_BASE_URI, OPTION_SAVE_OVERRIDE_TRANSACTION, OPTION_SAVE_PROGRESS_MONITOR, PREFETCH_PARAMETERROOT_NAME, ROOT_PATHHREF, NIL, NO_NAMESPACE_SCHEMA_LOCATION, OPTION_ANY_SIMPLE_TYPE, OPTION_ANY_TYPE, OPTION_BINARY, OPTION_CONFIGURATION_CACHE, OPTION_DECLARE_XML, OPTION_DEFER_ATTACHMENT, OPTION_DEFER_IDREF_RESOLUTION, OPTION_DISABLE_NOTIFY, OPTION_DOM_USE_NAMESPACES_IN_SCOPE, OPTION_ELEMENT_HANDLER, OPTION_ENCODING, OPTION_ESCAPE_USING_CDATA, OPTION_EXTENDED_META_DATA, OPTION_FLUSH_THRESHOLD, OPTION_FORMATTED, OPTION_KEEP_DEFAULT_CONTENT, OPTION_LAX_FEATURE_PROCESSING, OPTION_LAX_WILDCARD_PROCESSING, OPTION_LINE_WIDTH, OPTION_MISSING_PACKAGE_HANDLER, 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_PROXY_ATTRIBUTES, OPTION_RECORD_ANY_TYPE_NAMESPACE_DECLARATIONS, OPTION_RECORD_UNKNOWN_FEATURE, OPTION_RESOURCE_ENTITY_HANDLER, OPTION_RESOURCE_HANDLER, OPTION_ROOT_OBJECTS, OPTION_SAVE_DOCTYPE, OPTION_SAVE_TYPE_INFORMATION, OPTION_SCHEMA_LOCATION, OPTION_SCHEMA_LOCATION_IMPLEMENTATION, OPTION_SKIP_ESCAPE, OPTION_SKIP_ESCAPE_URI, OPTION_SUPPRESS_DOCUMENT_ROOT, OPTION_URI_HANDLER, OPTION_USE_CACHED_LOOKUP_TABLE, OPTION_USE_DEPRECATED_METHODS, OPTION_USE_ENCODED_ATTRIBUTE_STYLE, OPTION_USE_FILE_BUFFER, OPTION_USE_LEXICAL_HANDLER, OPTION_USE_PACKAGE_NS_URI_AS_LOCATION, OPTION_USE_PARSER_POOL, OPTION_USE_XML_NAME_TO_FEATURE_MAP, OPTION_XML_MAP, OPTION_XML_OPTIONS, OPTION_XML_VERSION, SCHEMA_LOCATION, TYPE, XML_NS, XML_SCHEMA_URI, XSI_NS, XSI_URIOPTION_CIPHER, OPTION_LINE_DELIMITER, OPTION_LINE_DELIMITER_UNSPECIFIED, OPTION_SAVE_ONLY_IF_CHANGED, OPTION_SAVE_ONLY_IF_CHANGED_FILE_BUFFER, OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER, OPTION_ZIP, RESOURCE__CONTENTS, RESOURCE__ERRORS, RESOURCE__IS_LOADED, RESOURCE__IS_MODIFIED, RESOURCE__IS_TRACKING_MODIFICATION, RESOURCE__RESOURCE_SET, RESOURCE__TIME_STAMP, RESOURCE__URI, RESOURCE__WARNINGS| Modifier | Constructor and Description |
|---|---|
protected |
CDOResourceImpl() |
|
CDOResourceImpl(org.eclipse.emf.common.util.URI initialURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
attached(org.eclipse.emf.ecore.EObject object) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.common.notify.NotificationChain notifications) |
void |
cdoInternalLoading(org.eclipse.emf.ecore.EObject object)
Informs the resource that an
object contained within it is being loaded. |
void |
cdoInternalLoadingDone(org.eclipse.emf.ecore.EObject object)
Informs the resource that an
object contained within it has finished being loaded. |
void |
cdoInternalPostDetach(boolean remote)
It is really important for accessing the data to go through
CDOObjectImpl.cdoStore(). |
void |
cdoInternalPreLoad() |
protected org.eclipse.emf.common.util.EList<?> |
createList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) |
void |
delete(Map<?,?> options) |
void |
detached(org.eclipse.emf.ecore.EObject object) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass) |
org.eclipse.emf.ecore.resource.Resource.Internal |
eDirectResource() |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
void |
eSet(int featureID,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> |
getAllContents() |
protected org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> |
getAllProperContents(List<org.eclipse.emf.ecore.EObject> contents) |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
getContents() |
Map<Object,Object> |
getDefaultLoadOptions() |
Map<Object,Object> |
getDefaultSaveOptions() |
org.eclipse.emf.ecore.xmi.DOMHelper |
getDOMHelper() |
String |
getEncoding() |
org.eclipse.emf.ecore.EObject |
getEObject(String uriFragment)
Note: URI from temporary objects are going to changed when we commit the CDOTransaction.
|
protected org.eclipse.emf.ecore.EObject |
getEObjectByID(String id)
Returns the object based on the fragment as an ID.
|
Map<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.xml.type.AnyType> |
getEObjectToExtensionMap() |
Map<org.eclipse.emf.ecore.EObject,String> |
getEObjectToIDMap()
Deprecated.
|
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> |
getErrors() |
String |
getID(org.eclipse.emf.ecore.EObject eObject) |
Map<String,org.eclipse.emf.ecore.EObject> |
getIDToEObjectMap()
Deprecated.
|
Map<String,org.eclipse.emf.ecore.EObject> |
getIntrinsicIDToEObjectMap()
Returns the map used to cache the EObject that is identified by the
value
of its ID feature. |
String |
getPublicId() |
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet() |
String |
getSystemId() |
long |
getTimeStamp() |
org.eclipse.emf.common.util.URI |
getURI() |
String |
getURIFragment(org.eclipse.emf.ecore.EObject object) |
org.eclipse.emf.common.util.URI |
getURIGen() |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> |
getWarnings() |
String |
getXMLVersion() |
boolean |
isExisting() |
boolean |
isLoaded() |
boolean |
isLoading() |
boolean |
isModified() |
boolean |
isRoot() |
boolean |
isTrackingModification() |
void |
load(InputSource inputSource,
Map<?,?> options) |
void |
load(InputStream inputStream,
Map<?,?> options) |
void |
load(Map<?,?> options) |
void |
load(Node node,
Map<?,?> options) |
void |
recacheURIs() |
Document |
save(Document document,
Map<?,?> options,
org.eclipse.emf.ecore.xmi.DOMHandler handler) |
void |
save(Map<?,?> options) |
void |
save(OutputStream outputStream,
Map<?,?> options) |
void |
save(Writer writer,
Map<?,?> options) |
void |
setDoctypeInfo(String publicId,
String systemId) |
void |
setEncoding(String encoding) |
protected void |
setExisting(boolean existing) |
void |
setFolder(CDOResourceFolder newFolder) |
void |
setID(org.eclipse.emf.ecore.EObject eObject,
String id) |
void |
setIntrinsicIDToEObjectMap(Map<String,org.eclipse.emf.ecore.EObject> intrinsicIDToEObjectMap)
Sets the map used to cache the EObject identified by the value of its ID feature.
|
void |
setModified(boolean newModified) |
void |
setName(String newName) |
void |
setPath(String newPath) |
void |
setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet newResourceSet) |
void |
setRoot(boolean root) |
void |
setTimeStamp(long newTimeStamp) |
void |
setTrackingModification(boolean newTrackingModification) |
void |
setTrackingModificationGen(boolean newTrackingModification) |
void |
setURI(org.eclipse.emf.common.util.URI newURI) |
void |
setURIGen(org.eclipse.emf.common.util.URI newURI) |
void |
setUseZip(boolean useZip) |
void |
setXMLVersion(String version) |
String |
toString(String string) |
void |
unload() |
boolean |
useZip() |
basicSetFolder, basicSetName, eStaticFeatureCount, getExtension, getFolder, getName, getPath, setFolderGen, setNameGen, toString, trimExtensioncdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreCommit, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createLock, createMap, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeatureeBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureIDeAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseNotificationRequired, eNotifyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getFolder, getName, getPath, trimExtensioncdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptioneAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteBasicRemoveFromContainer, eDerivedOperationID, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eUnset, eURIFragmentSegmentpublic CDOResourceImpl(org.eclipse.emf.common.util.URI initialURI)
protected CDOResourceImpl()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class CDOResourceLeafImplpublic org.eclipse.emf.ecore.resource.Resource.Internal eDirectResource()
eDirectResource in interface org.eclipse.emf.ecore.InternalEObjecteDirectResource in class CDOObjectImplpublic int eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass)
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass)
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean isRoot()
isRoot in interface CDOResourceNodepublic void setRoot(boolean root)
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
getResourceSet in interface CDOResourcegetResourceSet in interface org.eclipse.emf.ecore.resource.ResourceCDOResource.setResourceSet(ResourceSet),
EresourcePackage.getCDOResource_ResourceSet()public void setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet newResourceSet)
setResourceSet in interface CDOResourcenewResourceSet - the new value of the 'Resource Set' attribute.CDOResource.getResourceSet()public org.eclipse.emf.common.util.URI getURIGen()
public org.eclipse.emf.common.util.URI getURI()
getURI in interface CDOResourcegetURI in interface CDOResourceNodegetURI in interface org.eclipse.emf.ecore.resource.ResourcegetURI in class CDOResourceNodeImplCDOResource.setURI(URI),
EresourcePackage.getCDOResource_URI()public void recacheURIs()
recacheURIs in class CDOResourceNodeImplpublic void setURIGen(org.eclipse.emf.common.util.URI newURI)
public void setURI(org.eclipse.emf.common.util.URI newURI)
setURI in interface CDOResourcesetURI in interface org.eclipse.emf.ecore.resource.ResourcenewURI - the new value of the 'URI' attribute.CDOResource.getURI()public void setPath(String newPath)
CDOResourceNodeImplsetPath in interface CDOResourceNodesetPath in class CDOResourceNodeImplnewPath - the new value of the 'Path' attribute.CDOResourceNode.getPath()public void setFolder(CDOResourceFolder newFolder)
CDOResourceNodeImplsetFolder in interface CDOResourceNodesetFolder in class CDOResourceNodeImplnewFolder - the new value of the 'Folder' container reference.CDOResourceNode.getFolder()public void setName(String newName)
CDOResourceNodeImplsetName in interface CDOResourceNodesetName in class CDOResourceNodeImplnewName - the new value of the 'Name' attribute.CDOResourceNode.getName()public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class CDOResourceNodeImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class CDOResourceNodeImplpublic org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getContents()
getContents in interface CDOResourcegetContents in interface org.eclipse.emf.ecore.resource.ResourceEresourcePackage.getCDOResource_Contents()public void cdoInternalPostDetach(boolean remote)
CDOObjectImplCDOObjectImpl.cdoStore(). CDOObjectImpl.eStore() will redirect
you to the transient data.cdoInternalPostDetach in interface InternalCDOObjectcdoInternalPostDetach in class CDOObjectImplpublic boolean isModified()
isModified in interface CDOResourceisModified in interface org.eclipse.emf.ecore.resource.ResourceCDOResource.setModified(boolean),
EresourcePackage.getCDOResource_Modified()public void setModified(boolean newModified)
setModified in interface CDOResourcesetModified in interface org.eclipse.emf.ecore.resource.ResourcenewModified - the new value of the 'Modified' attribute.CDOResource.isModified()public boolean isLoaded()
isLoaded in interface CDOResourceisLoaded in interface org.eclipse.emf.ecore.resource.ResourceEresourcePackage.getCDOResource_Loaded()public boolean isTrackingModification()
isTrackingModification in interface CDOResourceisTrackingModification in interface org.eclipse.emf.ecore.resource.ResourceCDOResource.setTrackingModification(boolean),
EresourcePackage.getCDOResource_TrackingModification()public void setTrackingModificationGen(boolean newTrackingModification)
public void setTrackingModification(boolean newTrackingModification)
setTrackingModification in interface CDOResourcesetTrackingModification in interface org.eclipse.emf.ecore.resource.ResourcenewTrackingModification - the new value of the 'Tracking Modification' attribute.CDOResource.isTrackingModification()public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getErrors()
getErrors in interface CDOResourcegetErrors in interface org.eclipse.emf.ecore.resource.ResourceEresourcePackage.getCDOResource_Errors()public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource.Diagnostic> getWarnings()
getWarnings in interface CDOResourcegetWarnings in interface org.eclipse.emf.ecore.resource.ResourceEresourcePackage.getCDOResource_Warnings()public long getTimeStamp()
getTimeStamp in interface CDOResourcegetTimeStamp in interface org.eclipse.emf.ecore.resource.ResourceCDOResource.setTimeStamp(long),
EresourcePackage.getCDOResource_TimeStamp()public void setTimeStamp(long newTimeStamp)
setTimeStamp in interface CDOResourcesetTimeStamp in interface org.eclipse.emf.ecore.resource.ResourcenewTimeStamp - the new value of the 'Time Stamp' attribute.CDOResource.getTimeStamp()public org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> getAllContents()
getAllContents in interface org.eclipse.emf.ecore.resource.ResourceResourceImpl.getAllContents()public org.eclipse.emf.ecore.EObject getEObject(String uriFragment)
Note: This resource is not actually used to lookup the resulting object in CDO. Only the CDOView is used for this lookup! This means that this resource can be used to resolve any fragment with a CDOID of the associated CDOView.
getEObject in interface org.eclipse.emf.ecore.resource.Resourcepublic Map<String,org.eclipse.emf.ecore.EObject> getIntrinsicIDToEObjectMap()
value
of its ID feature.setIntrinsicIDToEObjectMap(java.util.Map<java.lang.String, org.eclipse.emf.ecore.EObject>)public void setIntrinsicIDToEObjectMap(Map<String,org.eclipse.emf.ecore.EObject> intrinsicIDToEObjectMap)
null.
The map will be lazily loaded by the getEObjectByID method.
It is up to the client to clear the cache when it becomes invalid,
e.g., when the ID of a previously mapped EObject is changed.intrinsicIDToEObjectMap - the new map or null.getIntrinsicIDToEObjectMap()protected org.eclipse.emf.ecore.EObject getEObjectByID(String id)
protected org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> getAllProperContents(List<org.eclipse.emf.ecore.EObject> contents)
public String getURIFragment(org.eclipse.emf.ecore.EObject object)
getURIFragment in interface org.eclipse.emf.ecore.resource.Resourcepublic boolean isLoading()
isLoading in interface org.eclipse.emf.ecore.resource.Resource.Internalpublic void cdoInternalLoading(org.eclipse.emf.ecore.EObject object)
InternalCDOResourceobject contained within it is being loaded.cdoInternalLoading in interface InternalCDOResourcepublic void cdoInternalLoadingDone(org.eclipse.emf.ecore.EObject object)
InternalCDOResourceobject contained within it has finished being loaded.cdoInternalLoadingDone in interface InternalCDOResourcepublic void cdoInternalPreLoad()
cdoInternalPreLoad in interface InternalCDOLoadablecdoInternalPreLoad in class CDOObjectImplpublic void load(InputStream inputStream, Map<?,?> options) throws IOException
load in interface org.eclipse.emf.ecore.resource.ResourceIOExceptionpublic void load(Map<?,?> options) throws IOException
load in interface org.eclipse.emf.ecore.resource.ResourceIOExceptionpublic void save(Map<?,?> options) throws IOException
save in interface org.eclipse.emf.ecore.resource.ResourceIOExceptionpublic void save(OutputStream outputStream, Map<?,?> options) throws IOException
save in interface org.eclipse.emf.ecore.resource.ResourceIOExceptionpublic void unload()
unload in interface org.eclipse.emf.ecore.resource.Resourcepublic void delete(Map<?,?> options) throws IOException
delete in interface CDOResourceNodedelete in interface org.eclipse.emf.ecore.resource.ResourceIOExceptionpublic void attached(org.eclipse.emf.ecore.EObject object)
attached in interface org.eclipse.emf.ecore.resource.Resource.Internalpublic void detached(org.eclipse.emf.ecore.EObject object)
detached in interface org.eclipse.emf.ecore.resource.Resource.Internalpublic org.eclipse.emf.common.notify.NotificationChain basicSetResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.common.notify.NotificationChain notifications)
basicSetResourceSet in interface org.eclipse.emf.ecore.resource.Resource.InternalResourceImpl.basicSetResourceSet(ResourceSet, NotificationChain)public boolean isExisting()
isExisting in interface CDOResourceprotected void setExisting(boolean existing)
protected org.eclipse.emf.common.util.EList<?> createList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
createList in class CDOObjectImplpublic String toString(String string)
toString in class CDOResourceNodeImplpublic String getID(org.eclipse.emf.ecore.EObject eObject)
getID in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setID(org.eclipse.emf.ecore.EObject eObject,
String id)
setID in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic boolean useZip()
useZip in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setUseZip(boolean useZip)
setUseZip in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic String getPublicId()
getPublicId in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic String getSystemId()
getSystemId in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic org.eclipse.emf.ecore.xmi.DOMHelper getDOMHelper()
getDOMHelper in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic Map<Object,Object> getDefaultLoadOptions()
getDefaultLoadOptions in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic Map<Object,Object> getDefaultSaveOptions()
getDefaultSaveOptions in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic Map<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.xml.type.AnyType> getEObjectToExtensionMap()
getEObjectToExtensionMap in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic String getEncoding()
getEncoding in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setEncoding(String encoding)
setEncoding in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic String getXMLVersion()
getXMLVersion in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setXMLVersion(String version)
setXMLVersion in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setDoctypeInfo(String publicId, String systemId)
setDoctypeInfo in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void load(Node node, Map<?,?> options) throws IOException
load in interface org.eclipse.emf.ecore.xmi.XMLResourceIOExceptionpublic void load(InputSource inputSource, Map<?,?> options) throws IOException
load in interface org.eclipse.emf.ecore.xmi.XMLResourceIOExceptionpublic void save(Writer writer, Map<?,?> options) throws IOException
save in interface org.eclipse.emf.ecore.xmi.XMLResourceIOExceptionpublic Document save(Document document, Map<?,?> options, org.eclipse.emf.ecore.xmi.DOMHandler handler)
save in interface org.eclipse.emf.ecore.xmi.XMLResource@Deprecated public Map<String,org.eclipse.emf.ecore.EObject> getIDToEObjectMap()
getIDToEObjectMap in interface org.eclipse.emf.ecore.xmi.XMLResource@Deprecated public Map<org.eclipse.emf.ecore.EObject,String> getEObjectToIDMap()
getEObjectToIDMap in interface org.eclipse.emf.ecore.xmi.XMLResourceCopyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.