org.eclipse.wst.wsdl.util
Class WSDLResourceFactoryRegistry

java.lang.Object
  extended byorg.eclipse.wst.wsdl.util.WSDLResourceFactoryRegistry

public class WSDLResourceFactoryRegistry
extends java.lang.Object

This class provides support for the loading of WSDL or XSD resource from URI's that don't end with .xsd or .wsdl extensions. These URI's foil EMF's standard resource loading mechanism wich assumes that a resource type can always be deduced from the file extension. Code Example: ResourceSet resourceSet = new ResourceSetImpl(); WSDLResourceFactoryRegistry registry = new WSDLResourceFactoryRegistry(Resource.Factory.Registry.INSTANCE); resourceSet.setResourceFactoryRegistry(registry);


Constructor Summary
WSDLResourceFactoryRegistry(Resource.Factory.Registry parent)
           
 
Method Summary
 java.util.Map getExtensionToFactoryMap()
           
 Factory getFactory(URI uri)
           
 java.util.Map getProtocolToFactoryMap()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLResourceFactoryRegistry

public WSDLResourceFactoryRegistry(Resource.Factory.Registry parent)
Method Detail

getExtensionToFactoryMap

public java.util.Map getExtensionToFactoryMap()

getProtocolToFactoryMap

public java.util.Map getProtocolToFactoryMap()

getFactory

public Factory getFactory(URI uri)