de.miethxml.hawron.xml
Class AbstractFileExport

java.lang.Object
  extended byde.miethxml.hawron.xml.AbstractFileExport
All Implemented Interfaces:
ProjectExport
Direct Known Subclasses:
AntConfigFileWriter, CLIConfigFileWriter, HawronConfigFileWriter

public abstract class AbstractFileExport
extends java.lang.Object
implements ProjectExport

Author:
Simon Mieth

Field Summary
protected  int fileFormat
           
protected  java.lang.String location
           
protected  boolean relativePaths
           
 
Constructor Summary
AbstractFileExport()
           
 
Method Summary
 org.jdom.Element getBrokenLinksElement(BeanConfiguration config)
           
 org.jdom.Element getCLIRootElement(Project project)
           
 int getFileFormat()
           
 org.jdom.Element getLoggingElement(BeanConfiguration config)
           
protected  java.lang.String getRelativePath(java.lang.String path)
           
 org.jdom.Element getUrisElement(Task task)
           
 void setFileFormat(int fileFormat)
           
 void setRelativePathEnabled(java.lang.String path, boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.miethxml.hawron.project.ProjectExport
export, getDescription, getFileExtension, getShortDescription
 

Field Detail

relativePaths

protected boolean relativePaths

location

protected java.lang.String location

fileFormat

protected int fileFormat
Constructor Detail

AbstractFileExport

public AbstractFileExport()
Method Detail

getCLIRootElement

public org.jdom.Element getCLIRootElement(Project project)

getUrisElement

public org.jdom.Element getUrisElement(Task task)

getRelativePath

protected java.lang.String getRelativePath(java.lang.String path)

getBrokenLinksElement

public org.jdom.Element getBrokenLinksElement(BeanConfiguration config)

getLoggingElement

public org.jdom.Element getLoggingElement(BeanConfiguration config)

setRelativePathEnabled

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

getFileFormat

public int getFileFormat()
Specified by:
getFileFormat in interface ProjectExport
Returns:
Returns the fileFormat.

setFileFormat

public void setFileFormat(int fileFormat)
Parameters:
fileFormat - The fileFormat to set.