org.apache.cocoon.components.resolver
Class DefaultResolver
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.xml.DefaultEntityResolver
org.apache.cocoon.components.resolver.DefaultResolver
- All Implemented Interfaces:
- Disposable, Component, LogEnabled, Parameterizable, Serviceable, ThreadSafe, EntityResolver
public class DefaultResolver
- extends DefaultEntityResolver
A component that uses catalogs for resolving entities.
This component simply inherits from the excalibur implementation and
adds the context: protocol to each relative uri.
The catalog is by default loaded from "WEB-INF/entities/catalog".
This can be configured by the "catalog" parameter in the cocoon.xconf:
<entity-resolver>
<parameter name="catalog" value="mycatalog"/>
</entity-resolver>
- Since:
- 2.1
- Version:
- CVS $Id: DefaultResolver.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResolver
public DefaultResolver()
parseCatalog
protected void parseCatalog(String uri)
- Parse a catalog
- Overrides:
parseCatalog
in class DefaultEntityResolver
defaultCatalog
protected String defaultCatalog()
- Default catalog path
- Overrides:
defaultCatalog
in class DefaultEntityResolver
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.