org.eclipse.wst.wsdl.util
Class WSDLResourceImpl
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.wst.wsdl.util.WSDLResourceImpl
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.Resource, org.eclipse.emf.ecore.resource.Resource.Internal
public class WSDLResourceImpl
- extends org.eclipse.emf.ecore.resource.impl.ResourceImpl
The Resource implementation for the model.
This specialized resource implementation supports it's own way of making keys and
hrefs, and it's own serialization. This class is not intended for subclassing
outside of the model implementation; it is intended to be used as is with the
Resource framework.
Note: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
- Since:
- 1.0
- See Also:
WSDLResourceFactoryImpl
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> |
Constructor Summary |
WSDLResourceImpl(org.eclipse.emf.common.util.URI uri)
Creates an instance of the resource |
Method Summary |
void |
attached(org.eclipse.emf.ecore.EObject eObject)
|
Definition |
getDefinition()
Returns the resource's Definition. |
static void |
serialize(java.io.OutputStream outputStream,
org.w3c.dom.Document document)
|
static void |
serialize(java.io.OutputStream outputStream,
org.w3c.dom.Document document,
java.lang.String encoding)
|
static void |
serialize(java.io.OutputStream outputStream,
org.w3c.dom.Element element)
|
static void |
serialize(java.io.OutputStream outputStream,
org.w3c.dom.Element element,
java.lang.String encoding)
|
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl |
basicSetResourceSet, detached, getAllContents, getContents, getEObject, getErrors, getIntrinsicIDToEObjectMap, getResourceSet, getURI, getURIFragment, getWarnings, isLoaded, isLoading, isModified, isTrackingModification, load, load, save, save, setIntrinsicIDToEObjectMap, setModified, setTrackingModification, setURI, toKeyString, toString, unload |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl |
eAdapters, eDeliver, eSetDeliver |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
USE_EXTENSION_FACTORIES
public static final java.lang.String USE_EXTENSION_FACTORIES
- See Also:
- Constant Field Values
CONTINUE_ON_LOAD_ERROR
public static final java.lang.String CONTINUE_ON_LOAD_ERROR
- See Also:
- Constant Field Values
WSDL_ENCODING
public static final java.lang.String WSDL_ENCODING
- See Also:
- Constant Field Values
WSDL_PROGRESS_MONITOR
public static final java.lang.String WSDL_PROGRESS_MONITOR
- See Also:
- Constant Field Values
TRACK_LOCATION
public static final java.lang.String TRACK_LOCATION
- Add this option with a value of Boolean.TRUE to the options map when
loading a resource to instruct the loader to track source code location for
each node in the source document.
- See Also:
WSDLParser.getUserData(org.w3c.dom.Node)
,
WSDLParser.getStartColumn(org.w3c.dom.Node)
,
WSDLParser.getEndColumn(org.w3c.dom.Node)
,
WSDLParser.getStartLine(org.w3c.dom.Node)
,
WSDLParser.getEndLine(org.w3c.dom.Node)
,
Constant Field Values
WSDLResourceImpl
public WSDLResourceImpl(org.eclipse.emf.common.util.URI uri)
- Creates an instance of the resource.
- Parameters:
uri
- the URI of the new resource.
getDefinition
public Definition getDefinition()
- Returns the resource's Definition.
serialize
public static void serialize(java.io.OutputStream outputStream,
org.w3c.dom.Document document)
serialize
public static void serialize(java.io.OutputStream outputStream,
org.w3c.dom.Document document,
java.lang.String encoding)
serialize
public static void serialize(java.io.OutputStream outputStream,
org.w3c.dom.Element element)
serialize
public static void serialize(java.io.OutputStream outputStream,
org.w3c.dom.Element element,
java.lang.String encoding)
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