|
org.eclipse.gmf.runtime.emf.core.clipboard
Class CopyingResource
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.gmf.runtime.emf.core.clipboard.CopyingResource
-
All Implemented Interfaces:
- org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.Resource, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.xmi.XMIResource, org.eclipse.emf.ecore.xmi.XMLResource
-
public class CopyingResource
- extends org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
|
org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList<E extends java.lang.Object & org.eclipse.emf.ecore.EObject>, org.eclipse.emf.ecore.resource.impl.ResourceImpl.ModificationTrackingAdapter
|
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
|
org.eclipse.emf.ecore.xmi.XMLResource.ElementHandler, 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.XMLMap
|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource
|
org.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.IOWrappedException
|
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
|
DETACHED_EOBJECT_TO_ID_MAP, domHandler, encoding, eObjectToExtensionMap, eObjectToIDMap, idToEObjectMap, publicId, systemId, useZip, xmlVersion
|
Fields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
|
contents, defaultDeleteOptions, defaultLoadOptions, defaultSaveOptions, errors, intrinsicIDToEObjectMap, isLoaded, isLoading, isModified, modificationTrackingAdapter, resourceSet, timeStamp, unloadingContents, uri, warnings
|
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
|
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
|
Fields inherited from interface org.eclipse.emf.ecore.xmi.XMIResource
|
OPTION_USE_XMI_TYPE, VERSION_NAME, VERSION_VALUE, XMI_ID, XMI_NAMESPACE_PREFIX, XMI_NS, XMI_TAG_NAME, XMI_URI
|
Fields inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
|
HREF, NIL, NO_NAMESPACE_SCHEMA_LOCATION, OPTION_ANY_SIMPLE_TYPE, OPTION_ANY_TYPE, 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_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_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_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_URI
|
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource
|
OPTION_CIPHER, 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
|
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
|
getXMINamespace, getXMIVersion, setXMINamespace, setXMIVersion, useIDs
|
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
|
assignIDsWhileLoading, attachedHelper, detachedHelper, doLoad, doLoad, doSave, doSave, getDefaultLoadOptions, getDefaultSaveOptions, getDOMHelper, getEncoding, getEObjectToIDMap, getID, getIDToEObjectMap, getPublicId, getSystemId, getURIFragment, getXMLVersion, init, isAttachedDetachedHelperRequired, isPath, load, load, save, save, setDoctypeInfo, setEncoding, setID, setUseZip, setXMLVersion, toKeyString, useIDAttributes, useUUIDs, useZip
|
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
|
addModificationTrackingAdapters, basicSetResourceSet, createModificationTrackingAdapter, delete, getAllContents, getAllProperContents, getAllProperContents, getDefaultURIConverter, getEObject, getEObjectForURIFragmentRootSegment, getErrors, getIntrinsicIDToEObjectMap, getTimeStamp, getURI, getURIConverter, getURIFragmentRootSegment, getWarnings, isContentZipEntry, isLoaded, isLoading, isModified, load, load, mergeMaps, newContentZipEntry, removeModificationTrackingAdapters, save, save, saveOnlyIfChangedWithFileBuffer, saveOnlyIfChangedWithMemoryBuffer, setIntrinsicIDToEObjectMap, setLoaded, setModified, setTimeStamp, setTrackingModification, setURI, toString, unload
|
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
|
eAdapters, eBasicAdapters, eDeliver, eSetDeliver
|
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
|
eBasicAdapterArray, eBasicHasAdapters, eNotify
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Methods inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
|
getDefaultLoadOptions, getDefaultSaveOptions, getDOMHelper, getEncoding, getEObjectToIDMap, getID, getIDToEObjectMap, getPublicId, getSystemId, getXMLVersion, load, load, save, save, setDoctypeInfo, setEncoding, setID, setUseZip, setXMLVersion, useZip
|
Methods inherited from interface org.eclipse.emf.ecore.resource.Resource
|
delete, getAllContents, getErrors, getTimeStamp, getURI, getURIFragment, getWarnings, isLoaded, isModified, load, load, save, save, setModified, setTimeStamp, setTrackingModification, setURI, unload
|
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
|
eAdapters, eDeliver, eNotify, eSetDeliver
|
CopyingResource
public CopyingResource(org.eclipse.emf.ecore.xmi.XMLResource resource,
org.eclipse.emf.common.util.URI uri,
CopyingResourceSet copyingResourceSet)
CopyingResource
public CopyingResource(org.eclipse.emf.ecore.xmi.XMLResource resource,
org.eclipse.emf.common.util.URI uri,
CopyingResourceSet copyingResourceSet,
boolean regenerateIds)
createXMLLoad
protected org.eclipse.emf.ecore.xmi.XMLLoad createXMLLoad()
-
-
Overrides:
-
createXMLLoad in class org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
-
createXMLHelper
protected org.eclipse.emf.ecore.xmi.XMLHelper createXMLHelper()
-
-
Overrides:
-
createXMLHelper in class org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
-
unloaded
protected void unloaded(org.eclipse.emf.ecore.InternalEObject internalEObject)
-
-
Overrides:
-
unloaded in class org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
eNotificationRequired
public boolean eNotificationRequired()
-
-
Overrides:
-
eNotificationRequired in class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
-
See Also:
-
BasicNotifierImpl.eNotificationRequired()
doLoad
public void doLoad(java.io.InputStream inputStream,
java.util.Map options)
throws java.io.IOException
-
-
Overrides:
-
doLoad in class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
-
-
Throws:
-
java.io.IOException
createXMLSave
protected org.eclipse.emf.ecore.xmi.XMLSave createXMLSave()
-
-
Overrides:
-
createXMLSave in class org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
-
getContents
public org.eclipse.emf.common.util.EList getContents()
-
-
Specified by:
-
getContents in interface org.eclipse.emf.ecore.resource.Resource
-
Overrides:
-
getContents in class org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
doUnload
protected void doUnload()
-
-
Overrides:
-
doUnload in class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
-
-
See Also:
-
ResourceImpl.doUnload()
getEObject
public org.eclipse.emf.ecore.EObject getEObject(java.lang.String uriFragment)
-
-
Specified by:
-
getEObject in interface org.eclipse.emf.ecore.resource.Resource
-
Overrides:
-
getEObject in class org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
getEObjectByID
protected org.eclipse.emf.ecore.EObject getEObjectByID(java.lang.String id)
- Returns the object based on the fragment as an ID.
-
-
Overrides:
-
getEObjectByID in class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
-
getMslCopyingResourceSet
public
CopyingResourceSet getMslCopyingResourceSet()
-
-
Returns:
- Returns the CopyingResourceSet.
getResourceSet
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
-
-
Specified by:
-
getResourceSet in interface org.eclipse.emf.ecore.resource.Resource
-
Overrides:
-
getResourceSet in class org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
attached
public void attached(org.eclipse.emf.ecore.EObject eObject)
-
-
Specified by:
-
attached in interface org.eclipse.emf.ecore.resource.Resource.Internal
-
Overrides:
-
attached in class org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
detached
public void detached(org.eclipse.emf.ecore.EObject eObject)
-
-
Specified by:
-
detached in interface org.eclipse.emf.ecore.resource.Resource.Internal
-
Overrides:
-
detached in class org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
getEObjectToExtensionMap
public java.util.Map getEObjectToExtensionMap()
-
-
Specified by:
-
getEObjectToExtensionMap in interface org.eclipse.emf.ecore.xmi.XMLResource
-
Overrides:
-
getEObjectToExtensionMap in class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
-
isTrackingModification
public boolean isTrackingModification()
-
-
Specified by:
-
isTrackingModification in interface org.eclipse.emf.ecore.resource.Resource
-
Overrides:
-
isTrackingModification in class org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
getXMLResource
protected org.eclipse.emf.ecore.xmi.XMLResource getXMLResource()
- Gets the XML resource that contains the model content to be copied.
-
-
Returns:
- the XML resource
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.
|
|