org.eclipse.emf.ecore.xmi.impl
Class XMIResourceImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.common.notify.impl.NotifierImpl
          extended byorg.eclipse.emf.ecore.resource.impl.ResourceImpl
              extended byorg.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
                  extended byorg.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
All Implemented Interfaces:
Notifier, Resource, Resource.Internal, XMIResource, XMLResource
Direct Known Subclasses:
Ecore2EcoreResourceImpl, EMOFResourceImpl

public class XMIResourceImpl
extends XMLResourceImpl
implements XMIResource

This class represents an XMIResource.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
ResourceImpl.ContentsEList, ResourceImpl.ModificationTrackingAdapter
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.xmi.XMLResource
XMLResource.XMLInfo, XMLResource.XMLMap
 
Nested classes inherited from class org.eclipse.emf.ecore.resource.Resource
Resource.Diagnostic, Resource.Factory, Resource.Internal, Resource.IOWrappedException
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
DETACHED_EOBJECT_TO_ID_MAP, encoding, eObjectToExtensionMap, eObjectToIDMap, idToEObjectMap, publicId, systemId, useZip
 
Fields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
contents, defaultLoadOptions, defaultSaveOptions, errors, isLoaded, isModified, modificationTrackingAdapter, resourceSet, 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_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_DECLARE_XML, OPTION_DISABLE_NOTIFY, OPTION_ENCODING, OPTION_EXTENDED_META_DATA, OPTION_FLUSH_THRESHOLD, OPTION_FORMATTED, 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_UNKNOWN_FEATURE, OPTION_SAVE_DOCTYPE, OPTION_SAVE_TYPE_INFORMATION, OPTION_SCHEMA_LOCATION, OPTION_SCHEMA_LOCATION_IMPLEMENTATION, OPTION_SKIP_ESCAPE, 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, SCHEMA_LOCATION, TYPE, XML_NS, XML_SCHEMA_URI, XSI_NS, XSI_URI
 
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource
RESOURCE__CONTENTS, RESOURCE__ERRORS, RESOURCE__IS_LOADED, RESOURCE__IS_MODIFIED, RESOURCE__IS_TRACKING_MODIFICATION, RESOURCE__RESOURCE_SET, RESOURCE__URI, RESOURCE__WARNINGS
 
Constructor Summary
XMIResourceImpl()
          Constructor for XMIResourceImpl.
XMIResourceImpl(URI uri)
          Constructor for XMIResourceImpl.
 
Method Summary
protected  XMLHelper createXMLHelper()
           
protected  XMLLoad createXMLLoad()
           
protected  XMLSave createXMLSave()
           
 
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
attached, attachedHelper, detached, detachedHelper, doLoad, doSave, doUnload, getDefaultLoadOptions, getDefaultSaveOptions, getEncoding, getEObjectByID, getEObjectToExtensionMap, getEObjectToIDMap, getID, getIDToEObjectMap, getPublicId, getSystemId, getURIFragment, init, isPath, setDoctypeInfo, setEncoding, setID, setUseZip, toKeyString, useIDAttributes, useIDs, useUUIDs, useZip
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
addModificationTrackingAdapters, basicSetResourceSet, createModificationTrackingAdapter, getAllContents, getContents, getDefaultURIConverter, getEObject, getEObject, getEObjectForURIFragmentRootSegment, getErrors, getResourceSet, getURI, getURIConverter, getURIFragmentRootSegment, getWarnings, isContentZipEntry, isLoaded, isModified, isTrackingModification, load, load, newContentZipEntry, removeModificationTrackingAdapters, save, save, setLoaded, setModified, setTrackingModification, setURI, toString, unload, unloaded
 
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
eNotificationRequired, 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, getEncoding, getEObjectToExtensionMap, getEObjectToIDMap, getID, getIDToEObjectMap, getPublicId, getSystemId, setDoctypeInfo, setEncoding, setID, setUseZip, useZip
 
Methods inherited from interface org.eclipse.emf.ecore.resource.Resource
getAllContents, getContents, getEObject, getErrors, getResourceSet, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, load, save, save, setModified, setTrackingModification, setURI, unload
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Constructor Detail

XMIResourceImpl

public XMIResourceImpl()
Constructor for XMIResourceImpl.


XMIResourceImpl

public XMIResourceImpl(URI uri)
Constructor for XMIResourceImpl.

Parameters:
uri -
Method Detail

createXMLHelper

protected XMLHelper createXMLHelper()
Overrides:
createXMLHelper in class XMLResourceImpl

createXMLLoad

protected XMLLoad createXMLLoad()
Overrides:
createXMLLoad in class XMLResourceImpl

createXMLSave

protected XMLSave createXMLSave()
Overrides:
createXMLSave in class XMLResourceImpl

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.