org.apache.woden.internal.resolver
Class SchemaResolverAdapter

java.lang.Object
  extended by org.apache.woden.internal.resolver.SchemaResolverAdapter
All Implemented Interfaces:
org.apache.ws.commons.schema.resolver.URIResolver
Direct Known Subclasses:
DOMSchemaResolverAdapter, OMSchemaResolverAdapter

public abstract class SchemaResolverAdapter
extends java.lang.Object
implements org.apache.ws.commons.schema.resolver.URIResolver

Adapter from woden to ws.commons resolver, for use with XMLSchemaCollection (Effectively chains ws.commons DefaultURIResolver...)

Author:
Graham Turrell

Field Summary
protected  XMLElement fContextElement
           
 
Constructor Summary
SchemaResolverAdapter(URIResolver actualResolver, XMLElement contextElement)
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String targetNamespace, java.lang.String schemaLocation, java.lang.String baseUri)
          returns resolved URI if one can be found, otherwise the URI constructed from the arguments.
protected abstract  java.io.InputStream resolveFragId(java.lang.String fradId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fContextElement

protected XMLElement fContextElement
Constructor Detail

SchemaResolverAdapter

public SchemaResolverAdapter(URIResolver actualResolver,
                             XMLElement contextElement)
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String targetNamespace,
                                             java.lang.String schemaLocation,
                                             java.lang.String baseUri)
returns resolved URI if one can be found, otherwise the URI constructed from the arguments. Conforms to the interface spec.

Specified by:
resolveEntity in interface org.apache.ws.commons.schema.resolver.URIResolver

resolveFragId

protected abstract java.io.InputStream resolveFragId(java.lang.String fradId)


Copyright © 2007. All Rights Reserved.