This project has retired. For details please refer to its
        
        Attic page.
      
 
org.apache.lenya.cms.authoring
Class DefaultLeafCreator
java.lang.Object
  
org.apache.lenya.cms.authoring.DefaultCreator
      
org.apache.lenya.cms.authoring.DefaultLeafCreator
- All Implemented Interfaces: 
 - ParentChildCreatorInterface
 
public class DefaultLeafCreator
- extends DefaultCreator
 
 
 
 
 
| 
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) | 
protected  java.lang.String | 
getChildMetaFileName(java.io.File parentDir,
                     java.lang.String childId,
                     java.lang.String language)
 
          (non-Javadoc) | 
 short | 
getChildType(short childType)
 
          Return the child type. | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultLeafCreator
public DefaultLeafCreator()
getChildType
public short getChildType(short childType)
                   throws java.lang.Exception
- Return the child type.
- Specified by:
 getChildType in interface ParentChildCreatorInterface- Overrides:
 getChildType in class DefaultCreator
 
- Parameters:
 childType - a short value
- Returns:
 - a 
short value
 - Throws:
 java.lang.Exception - if an error occurs
 
 
getChildFileName
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)
- Specified by:
 getChildFileName in class DefaultCreator
 
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)
 
 
getChildMetaFileName
protected java.lang.String getChildMetaFileName(java.io.File parentDir,
                                                java.lang.String childId,
                                                java.lang.String language)
- (non-Javadoc)
- Overrides:
 getChildMetaFileName in class DefaultCreator
 
- Parameters:
 parentDir - the parent directorychildId - the id of the childlanguage - for which the document is created
- Returns:
 - the name of the meta file
 - See Also:
 org.apache.lenya.cms.authoring.DefaultCreator#getChildMetaFileName(java.io.File, java.lang.String)
 
 
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.