com.ibm.wsspi.ar
Class ArtifactURIConverter

java.lang.Object
  extended byorg.eclipse.emf.ecore.resource.impl.URIConverterImpl
      extended bycom.ibm.wsspi.core.extension.model.resource.ArchiveIdentifierConverter
          extended bycom.ibm.wsspi.ar.ArtifactURIConverter
All Implemented Interfaces:
com.ibm.wsspi.core.extension.reflect.ClassX.ResourceIteration, org.eclipse.emf.ecore.resource.URIConverter

public class ArtifactURIConverter
extends com.ibm.wsspi.core.extension.model.resource.ArchiveIdentifierConverter

Extension into EMF to support loading resources using the "wbi_artifact:/" and "archive:/" protocols which gives a single federated view of a WSDL document within an EAR file.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.PlatformResourceOutputStream, org.eclipse.emf.ecore.resource.impl.URIConverterImpl.URIMap, org.eclipse.emf.ecore.resource.impl.URIConverterImpl.WorkbenchHelper
 
Field Summary
static java.lang.String COPYRIGHT
           
static ArtifactURIConverter INSTANCE
           
 
Fields inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
uriMap, workspaceRoot
 
Fields inherited from interface org.eclipse.emf.ecore.resource.URIConverter
URI_MAP
 
Constructor Summary
protected ArtifactURIConverter()
          Default constructor
 
Method Summary
protected  java.io.InputStream connectInputStream(java.net.URL url)
           
 java.io.InputStream createInputStream(org.eclipse.emf.common.util.URI uri)
           
 
Methods inherited from class com.ibm.wsspi.core.extension.model.resource.ArchiveIdentifierConverter
createURLInputStream, load
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
createFileInputStream, createFileOutputStream, createOutputStream, createPlatformResourceInputStream, createPlatformResourceOutputStream, createURLOutputStream, getInternalURIMap, getURIMap, normalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

INSTANCE

public static final ArtifactURIConverter INSTANCE
Constructor Detail

ArtifactURIConverter

protected ArtifactURIConverter()
Default constructor

Method Detail

connectInputStream

protected java.io.InputStream connectInputStream(java.net.URL url)
                                          throws java.io.IOException
Throws:
java.io.IOException

createInputStream

public java.io.InputStream createInputStream(org.eclipse.emf.common.util.URI uri)
                                      throws java.io.IOException
Throws:
java.io.IOException
See Also:
URIConverter.createInputStream(org.eclipse.emf.common.util.URI)