Class URIResolverImpl
java.lang.Object
org.apache.axis2.jaxws.description.impl.URIResolverImpl
- All Implemented Interfaces:
org.apache.ws.commons.schema.resolver.URIResolver
- Direct Known Subclasses:
CatalogURIResolver
public class URIResolverImpl
extends Object
implements org.apache.ws.commons.schema.resolver.URIResolver
This class is used to locate xml schemas that are imported by wsdl documents.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStreamGets input stream from the uri given.protected booleanisAbsolute(String location) Checks to see if the location given is an absolute (actual) or relative path.resolveEntity(String namespace, String schemaLocation, String baseUri)
-
Field Details
-
classLoader
-
-
Constructor Details
-
URIResolverImpl
public URIResolverImpl() -
URIResolverImpl
-
-
Method Details
-
resolveEntity
- Specified by:
resolveEntityin interfaceorg.apache.ws.commons.schema.resolver.URIResolver
-
isAbsolute
Checks to see if the location given is an absolute (actual) or relative path.- Parameters:
location-- Returns:
-
getInputStreamForURI
Gets input stream from the uri given. If we cannot find the stream,nullis returned.- Parameters:
uri-- Returns:
-