public class StorageAwareResource extends LazyLinkingResource
LazyLinkingResource.CyclicLinkingException, LazyLinkingResource.DiagnosticMessageContextorg.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList<E extends java.lang.Object & org.eclipse.emf.ecore.EObject>, org.eclipse.emf.ecore.resource.impl.ResourceImpl.ModificationTrackingAdapterorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListorg.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| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
UNRESOLVABLE_FRAGMENT |
CYCLIC_LINKING_DECTECTION_COUNTER_LIMIT, cyclicLinkingDectectionCounterLimit, resolving, UNRESOLVEABLE_PROXIES_KEYisUpdating, operationCanceledManager, OPTION_ENCODING, OPTION_FORMAT, OPTION_RESOLVE_ALL, OPTION_SERIALIZATION_OPTIONScontents, defaultDeleteOptions, defaultLoadOptions, defaultSaveOptions, errors, intrinsicIDToEObjectMap, isLoaded, isLoading, isModified, modificationTrackingAdapter, resourceSet, timeStamp, unloadingContents, uri, warningseAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAGOPTION_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| Constructor and Description |
|---|
StorageAwareResource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearInternalState() |
protected void |
doUnload() |
org.eclipse.emf.ecore.EObject |
getEObject(java.lang.String uriFragment) |
PortableURIs |
getPortableURIs() |
IResourceDescription |
getResourceDescription() |
IResourceStorageFacade |
getResourceStorageFacade() |
protected java.util.Set<java.lang.String> |
getUnresolvableURIFragments() |
boolean |
isLoadedFromStorage() |
void |
load(java.util.Map<?,?> options) |
void |
loadFromStorage(ResourceStorageLoadable storageInputStream) |
void |
setIsLoadedFromStorage(boolean isLoadedFromStorage) |
void |
setResourceDescription(IResourceDescription resourceDescription) |
addLazyProxyInformation, clearLazyProxyInformation, createAndAddDiagnostic, createAndAddDiagnostic, createDiagnostic, createDiagnosticMessage, createDiagnosticMessageContext, doLinking, doLoad, doResolveLazyCrossReference, getDiagnosticList, getDiagnosticMessageProvider, getEncoder, getEObject, getLazyProxyInformation, getLazyProxyInformation, getLinkingHelper, getLinkingService, getReferences, handleCyclicResolution, hasLazyProxyInformation, isEagerLinking, isPotentialLazyCrossReference, isUnresolveableProxyCacheable, markUnresolvable, removeDiagnostic, removeLazyProxyInformation, resolveLazyCrossReference, resolveLazyCrossReferences, setDiagnosticMessageProvider, setEagerLinking, setEncoder, setLinkingHelper, setLinkingServiceaddSyntaxDiagnostic, addSyntaxErrors, basicGetEObject, clearErrorsAndWarnings, createReader, doSave, getCache, getConcreteSyntaxValidator, getEncoding, getEntryPoint, getFragmentProvider, getLanguageName, getLinker, getModificationStamp, getParser, getParseResult, getResourceServiceProvider, getSerializer, getUnloader, getURIFragment, isValidationDisabled, reattachModificationTracker, relink, reparse, setCache, setEncodingFromOptions, setEntryPoint, setFragmentProvider, setInjectedParser, setLanguageName, setLinker, setModificationStamp, setParser, setParseResult, setResourceServiceProvider, setSerializer, setUnloader, setValidationDisabled, unload, update, updateInternalState, updateInternalState, validateConcreteSyntaxaddModificationTrackingAdapters, attached, attachedHelper, basicSetResourceSet, createModificationTrackingAdapter, delete, detached, detachedHelper, getAllContents, getAllProperContents, getAllProperContents, getContents, getDefaultURIConverter, getEObject, getEObjectByID, getEObjectForURIFragmentRootSegment, getErrors, getIDForEObject, getIntrinsicIDToEObjectMap, getResourceSet, getTimeStamp, getUnloadingContents, getURI, getURIConverter, getURIFragmentRootSegment, getWarnings, handleLoadResponse, handleSaveResponse, isAttachedDetachedHelperRequired, isContentZipEntry, isLoaded, isLoading, isModified, isTrackingModification, load, mergeMaps, newContentZipEntry, removeModificationTrackingAdapters, save, save, saveOnlyIfChangedWithFileBuffer, saveOnlyIfChangedWithMemoryBuffer, setIntrinsicIDToEObjectMap, setLoaded, setModified, setTimeStamp, setTrackingModification, setURI, supportIDRelativeURIFragmentPaths, toKeyString, toString, unload, unloaded, useZipeAdapters, eBasicAdapters, eDeliver, eSetDelivereBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifypublic static final java.lang.String UNRESOLVABLE_FRAGMENT
public void load(java.util.Map<?,?> options)
throws java.io.IOException
load in interface org.eclipse.emf.ecore.resource.Resourceload in class org.eclipse.emf.ecore.resource.impl.ResourceImpljava.io.IOExceptionpublic void loadFromStorage(ResourceStorageLoadable storageInputStream) throws java.io.IOException
java.io.IOExceptionprotected void doUnload()
doUnload in class XtextResourceprotected void clearInternalState()
clearInternalState in class XtextResourcepublic org.eclipse.emf.ecore.EObject getEObject(java.lang.String uriFragment)
getEObject in interface org.eclipse.emf.ecore.resource.ResourcegetEObject in class LazyLinkingResourceprotected java.util.Set<java.lang.String> getUnresolvableURIFragments()
getUnresolvableURIFragments in class LazyLinkingResourcepublic IResourceStorageFacade getResourceStorageFacade()
public PortableURIs getPortableURIs()
public boolean isLoadedFromStorage()
public void setIsLoadedFromStorage(boolean isLoadedFromStorage)
public IResourceDescription getResourceDescription()
public void setResourceDescription(IResourceDescription resourceDescription)