com.ibm.wsspi.ar

Class ArtifactURIConverter

  1. java.lang.Object
  2. extended byorg.eclipse.emf.ecore.resource.impl.URIConverterImpl
  3. extended bycom.ibm.wsspi.ar.ArtifactURIConverter
All implemented interfaces:
com.ibm.ws.ar.util.ARImplConstants, com.ibm.ws.ar.util.ARPIIMessages, ARConstants, org.eclipse.emf.ecore.resource.URIConverter

  1. public class ArtifactURIConverter
  2. extends org.eclipse.emf.ecore.resource.impl.URIConverterImpl
  3. implements com.ibm.ws.ar.util.ARImplConstants
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/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.Archive, org.eclipse.emf.ecore.resource.impl.URIConverterImpl.PlatformResourceOutputStream, org.eclipse.emf.ecore.resource.impl.URIConverterImpl.URIMap, org.eclipse.emf.ecore.resource.impl.URIConverterImpl.WorkbenchHelper
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.URIConverter
org.eclipse.emf.ecore.resource.URIConverter.Cipher, org.eclipse.emf.ecore.resource.URIConverter.Readable, org.eclipse.emf.ecore.resource.URIConverter.ReadableInputStream, org.eclipse.emf.ecore.resource.URIConverter.Writeable, org.eclipse.emf.ecore.resource.URIConverter.WriteableOutputStream

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. ArtifactURIConverter
INSTANCE
Fields inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
uriMap, workspaceRoot
Fields inherited from interface com.ibm.ws.ar.util.ARPIIMessages
ALLOGGER, ARTIFACTLOADER_FILENOTFOUND, ARTIFACTLOADER_INCORRECT_URL, ARTIFACTLOADER_IO_FAILURE, ARTIFACTLOADER_OPENFAILURE, ARTIFACTLOADER_PROTOCOL_REG_FAILURE, BUNDLE, RES_BUNDLE
Fields inherited from interface com.ibm.wsspi.ar.ARConstants
SCHEMA, WSDL, XSD
Fields inherited from interface org.eclipse.emf.ecore.resource.URIConverter
URI_MAP

Constructor Summary

Modifier Constructor and Description
  1. protected
ArtifactURIConverter()
Default constructor

Method Summary

Modifier and Type Method and Description
  1. protected
  2. java.io.InputStream
connectInputStream(java.net.URL url)
  1. java.io.InputStream
createInputStream(org.eclipse.emf.common.util.URI uri)
Methods inherited from class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
createArchive, createArchiveInputStream, createArchiveOutputStream, createFileInputStream, createFileOutputStream, createOutputStream, createPlatformResourceInputStream, createPlatformResourceOutputStream, createURLInputStream, createURLOutputStream, getInternalURIMap, getURIMap, isArchiveScheme, normalize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

  1. public static final java.lang.String COPYRIGHT
See Also:

INSTANCE

  1. public static final ArtifactURIConverter INSTANCE

Constructor Detail

ArtifactURIConverter

  1. protected ArtifactURIConverter( )
Default constructor

Method Detail

connectInputStream

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

createInputStream

  1. public java.io.InputStream createInputStream( org.eclipse.emf.common.util.URI uri)
  2. throws java.io.IOException
Specified by:
createInputStream in interface org.eclipse.emf.ecore.resource.URIConverter
Overrides:
createInputStream in class org.eclipse.emf.ecore.resource.impl.URIConverterImpl
Throws:
java.io.IOException
See Also:
URIConverter.createInputStream(org.eclipse.emf.common.util.URI)