org.apache.lenya.cms.publication.templating
Class PublicationTemplateManagerImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.lenya.cms.publication.templating.PublicationTemplateManager
public class PublicationTemplateManagerImpl
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements org.apache.lenya.cms.publication.templating.PublicationTemplateManager, org.apache.avalon.framework.service.Serviceable
Manager for publication templates.
- Version:
- $Id: PublicationTemplateManagerImpl.java 474729 2006-11-14 11:07:44Z
andreas $
Fields inherited from interface org.apache.lenya.cms.publication.templating.PublicationTemplateManager |
ROLE |
Method Summary |
static java.lang.String |
getBaseURI(org.apache.lenya.cms.publication.Publication publication)
Returns the base URI for a certain publication. |
protected java.lang.String[] |
getBaseURIs(org.apache.lenya.cms.publication.Publication publication)
Returns the base URIs in traversing order. |
protected org.apache.lenya.cms.publication.Publication[] |
getPublications(org.apache.lenya.cms.publication.Publication publication)
Returns the publications in traversing order. |
java.lang.Object |
getSelectableHint(org.apache.lenya.cms.publication.Publication publication,
org.apache.avalon.framework.service.ServiceSelector selector,
java.lang.String originalHint)
|
void |
service(org.apache.avalon.framework.service.ServiceManager _manager)
|
void |
visit(org.apache.lenya.cms.publication.Publication publication,
org.apache.lenya.cms.publication.templating.PublicationVisitor visitor)
|
void |
visit(org.apache.lenya.cms.publication.Publication publication,
java.lang.String path,
org.apache.lenya.cms.publication.templating.SourceVisitor visitor)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublicationTemplateManagerImpl
public PublicationTemplateManagerImpl()
- Ctor.
visit
public void visit(org.apache.lenya.cms.publication.Publication publication,
java.lang.String path,
org.apache.lenya.cms.publication.templating.SourceVisitor visitor)
- Specified by:
visit
in interface org.apache.lenya.cms.publication.templating.PublicationTemplateManager
- See Also:
PublicationTemplateManager.visit(org.apache.lenya.cms.publication.Publication,
java.lang.String,
org.apache.lenya.cms.publication.templating.SourceVisitor)
service
public void service(org.apache.avalon.framework.service.ServiceManager _manager)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
service
in interface org.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
- See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
getBaseURIs
protected java.lang.String[] getBaseURIs(org.apache.lenya.cms.publication.Publication publication)
- Returns the base URIs in traversing order.
- Parameters:
publication
- The original publication.
- Returns:
- An array of strings.
getBaseURI
public static java.lang.String getBaseURI(org.apache.lenya.cms.publication.Publication publication)
- Returns the base URI for a certain publication.
- Parameters:
publication
- The publication.
- Returns:
- A string.
visit
public void visit(org.apache.lenya.cms.publication.Publication publication,
org.apache.lenya.cms.publication.templating.PublicationVisitor visitor)
- Specified by:
visit
in interface org.apache.lenya.cms.publication.templating.PublicationTemplateManager
- See Also:
PublicationTemplateManager.visit(org.apache.lenya.cms.publication.Publication,
org.apache.lenya.cms.publication.templating.PublicationVisitor)
getPublications
protected org.apache.lenya.cms.publication.Publication[] getPublications(org.apache.lenya.cms.publication.Publication publication)
- Returns the publications in traversing order.
- Parameters:
publication
- The original publication.
- Returns:
- An array of strings.
getSelectableHint
public java.lang.Object getSelectableHint(org.apache.lenya.cms.publication.Publication publication,
org.apache.avalon.framework.service.ServiceSelector selector,
java.lang.String originalHint)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
getSelectableHint
in interface org.apache.lenya.cms.publication.templating.PublicationTemplateManager
- Throws:
org.apache.avalon.framework.service.ServiceException
- See Also:
PublicationTemplateManager.getSelectableHint(org.apache.lenya.cms.publication.Publication,
org.apache.avalon.framework.service.ServiceSelector,
java.lang.String)
Copyright © $ Apache Software Foundation. All Rights Reserved.