org.eclipse.wst.wsdl.util
Class WSDLResourceFactoryRegistry
java.lang.Object
org.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);
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLResourceFactoryRegistry
public WSDLResourceFactoryRegistry(Resource.Factory.Registry parent)
getExtensionToFactoryMap
public java.util.Map getExtensionToFactoryMap()
getProtocolToFactoryMap
public java.util.Map getProtocolToFactoryMap()
getFactory
public Factory getFactory(URI uri)