public class OCLinEcoreCSResource extends EssentialOCLCSResource
EssentialOCLCSResource.RenamedDiagnostic, EssentialOCLCSResource.TransientASResource, EssentialOCLCSResource.TransientASResourceFactory, EssentialOCLCSResource.UnixOutputStream
org.eclipse.xtext.linking.lazy.LazyLinkingResource.CyclicLinkingException, org.eclipse.xtext.linking.lazy.LazyLinkingResource.DiagnosticMessageContext
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
org.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
CSResource.CSResourceExtension
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
resolving, UNRESOLVEABLE_PROXIES_KEY
isUpdating, operationCanceledManager, OPTION_ENCODING, OPTION_FORMAT, OPTION_RESOLVE_ALL, OPTION_SERIALIZATION_OPTIONS
contents, defaultDeleteOptions, defaultLoadOptions, defaultSaveOptions, errors, intrinsicIDToEObjectMap, isLoaded, isLoading, isModified, modificationTrackingAdapter, resourceSet, timeStamp, unloadingContents, uri, warnings
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
OPTION_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 |
---|
OCLinEcoreCSResource() |
Modifier and Type | Method and Description |
---|---|
AS2CS |
createAS2CS(java.util.Map<? extends BaseCSResource,? extends ASResource> cs2asResourceMap,
EnvironmentFactoryInternal environmentFactory)
Create the AS2CS converter for the cs2asResourceMap conversions using metamodelManager.
|
CS2AS |
createCS2AS(EnvironmentFactoryInternal environmentFactory,
ASResource asResource)
Create the CS2AS converter for the cs2asResourceMap conversions using metamodelManager.
|
void |
doSave(java.io.OutputStream outputStream,
java.util.Map<?,?> options) |
java.lang.String |
getASContentType()
Return the eContentType to be used when creating an AS resource.
|
ASResourceFactory |
getASResourceFactory() |
java.lang.String |
getEditorName()
Return the name of the editor for use in diagnostics.
|
addLibraryError, addSyntaxErrors, basicSetResourceSet, createAndAddDiagnostic, createASResource, createDiagnostic, dispose, doLinking, doLoad, findCS2AS, getASResource, getASURI, getCS2AS, getCS2AS, getEnvironmentFactory, getParserContext, getProjectManager, hasError, initializeResourceFactory, isPathable, reparse, resolve, resolveLazyCrossReferences, setHasError, setParserContext, setProjectManager, update, updateFrom
addLazyProxyInformation, clearLazyProxyInformation, createAndAddDiagnostic, createDiagnosticMessage, createDiagnosticMessageContext, doResolveLazyCrossReference, getDiagnosticList, getDiagnosticMessageProvider, getEncoder, getEObject, getEObject, getLazyProxyInformation, getLinkingHelper, getLinkingService, getReferences, getUnresolvableURIFragments, handleCyclicResolution, hasLazyProxyInformation, isEagerLinking, isPotentialLazyCrossReference, isUnresolveableProxyCacheable, markUnresolvable, removeDiagnostic, removeLazyProxyInformation, resolveLazyCrossReference, setDiagnosticMessageProvider, setEagerLinking, setEncoder, setLinkingHelper, setLinkingService
addSyntaxDiagnostic, basicGetEObject, clearErrorsAndWarnings, clearInternalState, createReader, doUnload, getCache, getConcreteSyntaxValidator, getEncoding, getFragmentProvider, getLanguageName, getLinker, getModificationStamp, getParser, getParseResult, getResourceServiceProvider, getSerializer, getUnloader, getURIFragment, isValidationDisabled, reattachModificationTracker, relink, setCache, setEncodingFromOptions, setFragmentProvider, setInjectedParser, setLanguageName, setLinker, setModificationStamp, setParser, setParseResult, setResourceServiceProvider, setSerializer, setUnloader, setValidationDisabled, unload, update, updateInternalState, updateInternalState, validateConcreteSyntax
addModificationTrackingAdapters, attached, attachedHelper, createModificationTrackingAdapter, delete, detached, detachedHelper, getAllContents, getAllProperContents, getAllProperContents, getContents, getDefaultURIConverter, getEObject, getEObjectByID, getEObjectForURIFragmentRootSegment, getErrors, getIntrinsicIDToEObjectMap, getResourceSet, getTimeStamp, getUnloadingContents, getURI, getURIConverter, getURIFragmentRootSegment, getWarnings, handleLoadResponse, handleSaveResponse, isAttachedDetachedHelperRequired, isContentZipEntry, isLoaded, isLoading, isModified, isTrackingModification, load, load, mergeMaps, newContentZipEntry, removeModificationTrackingAdapters, save, save, saveOnlyIfChangedWithFileBuffer, saveOnlyIfChangedWithMemoryBuffer, setIntrinsicIDToEObjectMap, setLoaded, setModified, setTimeStamp, setTrackingModification, setURI, toKeyString, toString, unload, unloaded, useZip
eAdapters, eBasicAdapters, eDeliver, eSetDeliver
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
update
delete, getAllContents, getContents, getEObject, getErrors, getResourceSet, getTimeStamp, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, load, save, save, setModified, setTimeStamp, setTrackingModification, setURI, unload
@NonNull public AS2CS createAS2CS(@NonNull java.util.Map<? extends BaseCSResource,? extends ASResource> cs2asResourceMap, @NonNull EnvironmentFactoryInternal environmentFactory)
BaseCSResource
createAS2CS
in interface BaseCSResource
createAS2CS
in class EssentialOCLCSResource
@NonNull public CS2AS createCS2AS(@NonNull EnvironmentFactoryInternal environmentFactory, @NonNull ASResource asResource)
BaseCSResource
createCS2AS
in interface BaseCSResource
createCS2AS
in class EssentialOCLCSResource
public void doSave(java.io.OutputStream outputStream, java.util.Map<?,?> options) throws java.io.IOException
doSave
in class EssentialOCLCSResource
java.io.IOException
@NonNull public java.lang.String getASContentType()
BaseCSResource
getASContentType
in interface BaseCSResource
getASContentType
in class EssentialOCLCSResource
@NonNull public ASResourceFactory getASResourceFactory()
getASResourceFactory
in interface CSResource
getASResourceFactory
in class EssentialOCLCSResource
@NonNull public java.lang.String getEditorName()
BaseCSResource
getEditorName
in interface BaseCSResource
getEditorName
in class EssentialOCLCSResource