org.apache.cocoon.core.xml.avalon
Class DefaultResolver

java.lang.Object
  extended byorg.apache.cocoon.core.xml.avalon.DefaultResolver
All Implemented Interfaces:
EntityResolver, EntityResolver

public class DefaultResolver
extends Object
implements EntityResolver

A wrapper implementation to support the Excalibur XML interfaces.

Since:
2.2
Version:
$Id: DefaultResolver.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  EntityResolver resolver
           
 
Fields inherited from interface org.apache.excalibur.xml.EntityResolver
ROLE
 
Constructor Summary
DefaultResolver()
           
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 void setResolver(EntityResolver resolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resolver

protected EntityResolver resolver
Constructor Detail

DefaultResolver

public DefaultResolver()
Method Detail

setResolver

public void setResolver(EntityResolver resolver)

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
Specified by:
resolveEntity in interface EntityResolver
Throws:
SAXException
IOException


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.