public class WsdlFinderXMLEntityResolver
extends java.lang.Object
implements org.apache.xerces.xni.parser.XMLEntityResolver
XMLEntityResolver implementation that defers to our own
ResourceFinder interface for loading resources. This class is
used for XSD-Schema capture which uses the Xerces schema model.| Constructor and Description |
|---|
WsdlFinderXMLEntityResolver(ResourceFinder finder,
java.net.URI baseURI,
java.util.Map<java.net.URI,byte[]> internalSchemas,
boolean failIfNotFound)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.xerces.xni.parser.XMLInputSource |
resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier resourceIdentifier) |
public WsdlFinderXMLEntityResolver(ResourceFinder finder, java.net.URI baseURI, java.util.Map<java.net.URI,byte[]> internalSchemas, boolean failIfNotFound)
finder - ResourceFinder implementation.baseURI - the base URI against which all relative URIs are to be resolved;
typically this is the system URI of the WSDL containing an
embedded schemapublic org.apache.xerces.xni.parser.XMLInputSource resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier resourceIdentifier)
throws org.apache.xerces.xni.XNIException,
java.io.IOException
resolveEntity in interface org.apache.xerces.xni.parser.XMLEntityResolverorg.apache.xerces.xni.XNIExceptionjava.io.IOException