com.ibm.wsspi.ar
Class ArtifactURIResolver
- java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
com.ibm.wsspi.ar.ArtifactURIResolver
All implemented interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, org.eclipse.wst.wsdl.internal.util.WSDLModelLocator, org.eclipse.xsd.util.XSDSchemaLocationResolver
- public class ArtifactURIResolver
- extends org.eclipse.emf.common.notify.impl.AdapterImpl
- implements org.eclipse.xsd.util.XSDSchemaLocationResolver, org.eclipse.wst.wsdl.internal.util.WSDLModelLocator
Since:
6.0.0.0
Nested Class Summary
Modifier and Type | Class and Description |
---|---|
|
ArtifactURIResolver.ResolverFactory
|
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
---|
org.eclipse.emf.common.notify.Adapter.Internal |
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
---|
target |
Constructor Summary
Constructor and Description |
---|
ArtifactURIResolver()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getFactory()
Return the custom AdapterFactoryImpl for XSDSchemaLocationResolver.
|
|
isAdapterForType(java.lang.Object type)
|
|
resolveSchemaLocation(org.eclipse.xsd.XSDSchema xsdSchema,java.lang.String namespaceURI,java.lang.String schemaLocationURI)
|
|
resolveURI(java.lang.String baseURI,java.lang.String namespaceURI,java.lang.String location)
Locates the document given the target namespace.
|
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
---|
getTarget, notifyChanged, setTarget, unsetTarget |
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:
Constructor Detail
ArtifactURIResolver
- public ArtifactURIResolver()
Method Detail
resolveURI
- public java.lang.String resolveURI( java.lang.String baseURI,
- java.lang.String namespaceURI,
- java.lang.String location)
Locates the document given the target namespace. The baseURI parameter is
not used since we depend on the ArtifactLoader to locate the document by
target namespace.
Specified by:
resolveURI
in interface org.eclipse.wst.wsdl.internal.util.WSDLModelLocator
Parameters:
baseURI
- The base hierarchical URI where this document can be resolved
against. Not used within WPS. namespaceURI
- Target namespace of the document. location
- Location hint where the document may be found. Returns:
An "artifact" protocol URI which points to all the WSDLs and XSDs
which participate in the target namespace. If no results are
found, returns the namespaceURI passed in.
See Also:
WSDLModelLocator.resolveURI(java.lang.String,
java.lang.String, java.lang.String)
resolveSchemaLocation
- public java.lang.String resolveSchemaLocation( org.eclipse.xsd.XSDSchema xsdSchema,
- java.lang.String namespaceURI,
- java.lang.String schemaLocationURI)
Specified by:
resolveSchemaLocation
in interface org.eclipse.xsd.util.XSDSchemaLocationResolver
See Also:
XSDSchemaLocationResolver.resolveSchemaLocation(org.eclipse.xsd.XSDSchema, java.lang.String, java.lang.String)
isAdapterForType
- public boolean isAdapterForType( java.lang.Object type)
Specified by:
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
Overrides:
isAdapterForType
in class org.eclipse.emf.common.notify.impl.AdapterImpl
getFactory
- public static org.eclipse.emf.common.notify.AdapterFactory getFactory( )
Return the custom AdapterFactoryImpl for XSDSchemaLocationResolver.
Returns:
RESOLVER_FACTORY