de.miethxml.hawron.xml
Class CLIConfigFileWriter

java.lang.Object
  extended byde.miethxml.hawron.xml.AbstractFileExport
      extended byde.miethxml.hawron.xml.CLIConfigFileWriter
All Implemented Interfaces:
ProjectExport

public class CLIConfigFileWriter
extends AbstractFileExport

This class will export the project to Cocoon-CLI configuration file, which can used with the Cocoon CLI interface.

Author:
Simon Mieth

Field Summary
 
Fields inherited from class de.miethxml.hawron.xml.AbstractFileExport
fileFormat
 
Constructor Summary
CLIConfigFileWriter()
           
 
Method Summary
 void export(Project project, java.lang.String file)
           
 java.lang.String getDescription(java.lang.String lang)
           
 java.lang.String getFileExtension()
           
 java.lang.String getShortDescription(java.lang.String lang)
           
 void setRelativePathEnabled(java.lang.String path, boolean b)
           
 
Methods inherited from class de.miethxml.hawron.xml.AbstractFileExport
getBrokenLinksElement, getCLIRootElement, getFileFormat, getLoggingElement, getRelativePath, getUrisElement, setFileFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLIConfigFileWriter

public CLIConfigFileWriter()
Method Detail

export

public void export(Project project,
                   java.lang.String file)

getDescription

public java.lang.String getDescription(java.lang.String lang)

getFileExtension

public java.lang.String getFileExtension()

setRelativePathEnabled

public void setRelativePathEnabled(java.lang.String path,
                                   boolean b)
Specified by:
setRelativePathEnabled in interface ProjectExport
Overrides:
setRelativePathEnabled in class AbstractFileExport

getShortDescription

public java.lang.String getShortDescription(java.lang.String lang)