This project has retired. For details please refer to its
Attic page.
org.apache.lenya.cms.authoring
Class NewBlogEntryCreator
java.lang.Object
org.apache.lenya.cms.authoring.DefaultCreator
org.apache.lenya.cms.authoring.DefaultBranchCreator
org.apache.lenya.cms.authoring.NewBlogEntryCreator
- All Implemented Interfaces:
- ParentChildCreatorInterface
public class NewBlogEntryCreator
- extends DefaultBranchCreator
Create a blog entry
|
Method Summary |
protected java.lang.String |
getChildFileName(Publication publication,
java.lang.String area,
java.lang.String parentId,
java.lang.String childId,
java.lang.String language)
(non-Javadoc) |
void |
init(org.apache.avalon.framework.configuration.Configuration conf)
Configures the Creator, based on a configuration file. |
protected void |
transformXML(org.w3c.dom.Document doc,
java.lang.String childId,
short childType,
java.lang.String childName,
java.util.Map parameters)
Apply some transformation on the newly created child. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewBlogEntryCreator
public NewBlogEntryCreator()
init
public void init(org.apache.avalon.framework.configuration.Configuration conf)
- Description copied from interface:
ParentChildCreatorInterface
- Configures the Creator, based on a configuration file.
- Specified by:
init in interface ParentChildCreatorInterface- Overrides:
init in class DefaultCreator
- Parameters:
conf - DOCUMENT ME!- See Also:
ParentChildCreatorInterface.init(Configuration)
getChildFileName
protected java.lang.String getChildFileName(Publication publication,
java.lang.String area,
java.lang.String parentId,
java.lang.String childId,
java.lang.String language)
- Description copied from class:
DefaultBranchCreator
- (non-Javadoc)
- Overrides:
getChildFileName in class DefaultBranchCreator
childId - the id of the childlanguage - for which the document is created
- Returns:
- the file name of the child
- See Also:
org.apache.lenya.cms.authoring.DefaultCreator#getChildFileName(java.io.File, java.lang.String)
transformXML
protected void transformXML(org.w3c.dom.Document doc,
java.lang.String childId,
short childType,
java.lang.String childName,
java.util.Map parameters)
throws java.lang.Exception
- Description copied from class:
DefaultCreator
- Apply some transformation on the newly created child.
- Overrides:
transformXML in class DefaultCreator
- Parameters:
doc - the xml documentchildId - the id of the childchildType - the type of childchildName - the name of the childparameters - additional parameters that can be used in the transformation
- Throws:
java.lang.Exception - if the transformation fails
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.