Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.xsd.reader.internal
Class ProgressURIResolver

java.lang.Object
  extended by eu.esdihumboldt.hale.io.xsd.reader.internal.ProgressURIResolver
All Implemented Interfaces:
org.apache.ws.commons.schema.resolver.CollectionURIResolver, org.apache.ws.commons.schema.resolver.URIResolver

public class ProgressURIResolver
extends Object
implements org.apache.ws.commons.schema.resolver.CollectionURIResolver

Decorator for URI resolvers that supports a ProgressIndicator

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Constructor Summary
ProgressURIResolver(org.apache.ws.commons.schema.resolver.URIResolver decoratee, ProgressIndicator progress)
          Create an URI resolver that triggers the given progress indicator
 
Method Summary
 String getCollectionBaseURI()
           
 InputSource resolveEntity(String targetNamespace, String schemaLocation, String baseUri)
           
 void setCollectionBaseURI(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressURIResolver

public ProgressURIResolver(org.apache.ws.commons.schema.resolver.URIResolver decoratee,
                           ProgressIndicator progress)
Create an URI resolver that triggers the given progress indicator

Parameters:
decoratee - the internal URI resolver
progress - the progress indicator
Method Detail

getCollectionBaseURI

public String getCollectionBaseURI()
Specified by:
getCollectionBaseURI in interface org.apache.ws.commons.schema.resolver.CollectionURIResolver
See Also:
CollectionURIResolver.getCollectionBaseURI()

setCollectionBaseURI

public void setCollectionBaseURI(String uri)
Specified by:
setCollectionBaseURI in interface org.apache.ws.commons.schema.resolver.CollectionURIResolver
See Also:
CollectionURIResolver.setCollectionBaseURI(String)

resolveEntity

public InputSource resolveEntity(String targetNamespace,
                                 String schemaLocation,
                                 String baseUri)
Specified by:
resolveEntity in interface org.apache.ws.commons.schema.resolver.URIResolver
See Also:
URIResolver.resolveEntity(String, String, String)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d