Package com.groiss.ws
Class ClasspathResolver
java.lang.Object
org.apache.ws.commons.schema.resolver.DefaultURIResolver
com.groiss.ws.ClasspathResolver
- All Implemented Interfaces:
javax.wsdl.xml.WSDLLocator
,org.apache.ws.commons.schema.resolver.CollectionURIResolver
,org.apache.ws.commons.schema.resolver.URIResolver
,LSResourceResolver
,EntityResolver
public class ClasspathResolver
extends org.apache.ws.commons.schema.resolver.DefaultURIResolver
implements javax.wsdl.xml.WSDLLocator, LSResourceResolver, EntityResolver
implements differenet kinds of resolvers/locators and checks for references in the classpath
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getImportInputSource
(String parent, String location) protected String
resolveEntity
(String publicId, String systemId) resolveEntity
(String namespace, String location, String parent) Methods inherited from class org.apache.ws.commons.schema.resolver.DefaultURIResolver
getCollectionBaseURI, getFileURL, getURL, isAbsolute, setCollectionBaseURI
-
Constructor Details
-
ClasspathResolver
public ClasspathResolver() -
ClasspathResolver
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfacejavax.wsdl.xml.WSDLLocator
-
getBaseInputSource
- Specified by:
getBaseInputSource
in interfacejavax.wsdl.xml.WSDLLocator
-
getBaseURI
- Specified by:
getBaseURI
in interfacejavax.wsdl.xml.WSDLLocator
-
normalize
-
getImportInputSource
- Specified by:
getImportInputSource
in interfacejavax.wsdl.xml.WSDLLocator
-
getLatestImportURI
- Specified by:
getLatestImportURI
in interfacejavax.wsdl.xml.WSDLLocator
-
resolveResource
public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) - Specified by:
resolveResource
in interfaceLSResourceResolver
-
resolveEntity
- Specified by:
resolveEntity
in interfaceorg.apache.ws.commons.schema.resolver.URIResolver
- Overrides:
resolveEntity
in classorg.apache.ws.commons.schema.resolver.DefaultURIResolver
-
resolveEntity
- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-