org.exist.validation.resolver
Class AnyUriResolver

java.lang.Object
  extended by org.exist.validation.resolver.AnyUriResolver
All Implemented Interfaces:
XMLEntityResolver

public class AnyUriResolver
extends Object
implements XMLEntityResolver

Resolve a resource specified by xs:anyURI. First time the resource is resolved by the URL as specified in the constructor, the second the URL of the ExpandedSystemId is used.

Author:
Dannes Wessels (dizzzz@exist-db.org)

Constructor Summary
AnyUriResolver(String path)
          Creates a new instance of AnyUriResolver
 
Method Summary
 XMLInputSource resolveEntity(XMLResourceIdentifier xri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyUriResolver

public AnyUriResolver(String path)
Creates a new instance of AnyUriResolver

Method Detail

resolveEntity

public XMLInputSource resolveEntity(XMLResourceIdentifier xri)
                             throws XNIException,
                                    IOException
Specified by:
resolveEntity in interface XMLEntityResolver
Throws:
XNIException
IOException


Copyright (C) Wolfgang Meier. All rights reserved.