public class XMLLogicResourceImpl extends LogicResourceImpl implements XMLLogicResource
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.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.IOWrappedExceptionapplyHorribleHack, closureIOHelper, defaultLoadOptions, defaultSaveOptions, intrinsicIDToEObjectMap, isClosureRoot, isLoaded, isLoading, isModified, modificationTrackingAdapter, pResourceSet, subUnits, urieAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAGHREF, 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| Constructor and Description |
|---|
XMLLogicResourceImpl(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
XMLLogicResourceImpl(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
boolean loadAdapter) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getDefaultLoadOptions() |
java.util.Map |
getDefaultSaveOptions() |
org.eclipse.emf.ecore.xmi.DOMHelper |
getDOMHelper() |
java.lang.String |
getEncoding() |
java.util.Map |
getEObjectToExtensionMap() |
java.util.Map |
getEObjectToIDMap() |
java.lang.String |
getID(org.eclipse.emf.ecore.EObject eObject)
This method returns the GUID of the element within this
logical resource
|
java.util.Map |
getIDToEObjectMap() |
java.lang.String |
getPublicId() |
java.lang.String |
getSystemId() |
java.lang.String |
getXMLVersion() |
void |
load(org.xml.sax.InputSource inputSource,
java.util.Map options) |
void |
load(org.w3c.dom.Node node,
java.util.Map options) |
org.w3c.dom.Document |
save(org.w3c.dom.Document document,
java.util.Map options,
org.eclipse.emf.ecore.xmi.DOMHandler handler) |
void |
save(java.io.Writer writer,
java.util.Map options) |
void |
setDoctypeInfo(java.lang.String publicId,
java.lang.String systemId) |
void |
setEncoding(java.lang.String encoding) |
void |
setID(org.eclipse.emf.ecore.EObject eObject,
java.lang.String id) |
void |
setUseZip(boolean useZip) |
void |
setXMLVersion(java.lang.String version) |
boolean |
useZip() |
addSubunit, clone, containSubunit, copy, createSubunit, delete, getAllContents, getContents, getDefaultURIConverter, getEObject, getErrors, getFullContents, getProperty, getResourceSet, getRootElement, getRootResource, getSubunit, getSubunits, getTimeStamp, getURI, getURIConverter, getURIFragment, getWarnings, init, isLoaded, isModified, isRootElement, isTrackingModification, load, load, loadClosure, remove, removeContentAdapter, resolveAll, save_old, save, save, save, setLoaded, setModified, setProperty, setRootElement, setRootResource, setTimeStamp, setTrackingModification, setURI, unloadeAdapters, eBasicAdapters, eDeliver, eSetDelivereBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSubunit, containSubunit, createSubunit, getFullContents, getProperty, getRootElement, getRootResource, getSubunit, getSubunits, isRootElement, removeContentAdapter, save, setLoaded, setProperty, setRootElement, setRootResourcedelete, getAllContents, getContents, getEObject, getErrors, getResourceSet, getTimeStamp, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, load, save, save, setModified, setTimeStamp, setTrackingModification, setURI, unloadpublic XMLLogicResourceImpl(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
public XMLLogicResourceImpl(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
boolean loadAdapter)
public boolean useZip()
useZip in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setUseZip(boolean useZip)
setUseZip in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.util.Map getDefaultSaveOptions()
getDefaultSaveOptions in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.util.Map getDefaultLoadOptions()
getDefaultLoadOptions in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.lang.String getPublicId()
getPublicId in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.lang.String getSystemId()
getSystemId in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setDoctypeInfo(java.lang.String publicId,
java.lang.String systemId)
setDoctypeInfo in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.lang.String getEncoding()
getEncoding in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setEncoding(java.lang.String encoding)
setEncoding in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.util.Map getIDToEObjectMap()
getIDToEObjectMap in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.util.Map getEObjectToIDMap()
getEObjectToIDMap in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.lang.String getID(org.eclipse.emf.ecore.EObject eObject)
getID in interface org.eclipse.emf.ecore.xmi.XMLResourceXMLResource.getID(org.eclipse.emf.ecore.EObject)public void setID(org.eclipse.emf.ecore.EObject eObject,
java.lang.String id)
setID in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic java.util.Map getEObjectToExtensionMap()
getEObjectToExtensionMap in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic org.w3c.dom.Document save(org.w3c.dom.Document document,
java.util.Map options,
org.eclipse.emf.ecore.xmi.DOMHandler handler)
save in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void save(java.io.Writer writer,
java.util.Map options)
throws java.io.IOException
save in interface org.eclipse.emf.ecore.xmi.XMLResourcejava.io.IOExceptionpublic org.eclipse.emf.ecore.xmi.DOMHelper getDOMHelper()
getDOMHelper in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void load(org.w3c.dom.Node node,
java.util.Map options)
throws java.io.IOException
load in interface org.eclipse.emf.ecore.xmi.XMLResourcejava.io.IOExceptionpublic void load(org.xml.sax.InputSource inputSource,
java.util.Map options)
throws java.io.IOException
load in interface org.eclipse.emf.ecore.xmi.XMLResourcejava.io.IOExceptionpublic java.lang.String getXMLVersion()
getXMLVersion in interface org.eclipse.emf.ecore.xmi.XMLResourcepublic void setXMLVersion(java.lang.String version)
setXMLVersion in interface org.eclipse.emf.ecore.xmi.XMLResource