|
Mylyn WikiText | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.eclipse.mylyn.wikitext.core.util.anttask.MarkupTask
org.eclipse.mylyn.wikitext.core.util.anttask.MarkupToDitaTask
public class MarkupToDitaTask
An Ant task for converting markup to OASIS DITA format.
Nested Class Summary | |
---|---|
static class |
MarkupToDitaTask.BreakStrategy
|
Field Summary | |
---|---|
protected File |
file
|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
MarkupToDitaTask()
|
Method Summary | |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files to process. |
void |
execute()
|
String |
getBookTitle()
Get the book title. |
String |
getDoctype()
The XML doctype of the ditamap. |
File |
getFile()
|
String |
getFilenameFormat()
The format of the DocBook output file. |
String |
getTopicDoctype()
the XML doctype of topics |
String |
getTopicFolder()
|
MarkupToDitaTask.BreakStrategy |
getTopicStrategy()
|
boolean |
isOverwrite()
|
void |
setBookTitle(String bookTitle)
The book title. |
void |
setDoctype(String doctype)
Set the XML doctype of the ditamap. |
void |
setFile(File file)
|
void |
setFilenameFormat(String filenameFormat)
The format of the DocBook output file. |
void |
setOverwrite(boolean overwrite)
|
void |
setTopicDoctype(String topicDoctype)
the XML doctype of topics The doctype should look something like this: |
void |
setTopicFolder(String topicFolder)
|
void |
setTopicStrategy(MarkupToDitaTask.BreakStrategy topicStrategy)
|
Methods inherited from class org.eclipse.mylyn.wikitext.core.util.anttask.MarkupTask |
---|
addConfiguredMarkupLanguageConfiguration, createMarkupLanguage, getInternalLinkPattern, getMarkupLanguage, getSourceEncoding, isFailOnValidationError, isFailOnValidationWarning, isValidate, performValidation, readFully, setFailOnValidationError, setFailOnValidationWarning, setInternalLinkPattern, setMarkupLanguage, setSourceEncoding, setValidate |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File file
Constructor Detail |
---|
public MarkupToDitaTask()
Method Detail |
---|
public void addFileset(org.apache.tools.ant.types.FileSet set)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public String getFilenameFormat()
$1.ditamap
setFilenameFormat(String)
public void setFilenameFormat(String filenameFormat)
$1.ditamap
public String getBookTitle()
public void setBookTitle(String bookTitle)
bookTitle
- the title, or null if the source filename is to be used as the title.public void setDoctype(String doctype)
<!DOCTYPE bookmap PUBLIC \"-//OASIS//DTD DITA 1.1 BookMap//EN\" \"http://docs.oasis-open.org/dita/v1.1/OS/dtd/bookmap.dtd\">
public String getDoctype()
public String getTopicDoctype()
public void setTopicDoctype(String topicDoctype)
<!DOCTYPE topic PUBLIC \"-//OASIS//DTD DITA 1.1 Topic//EN\">
public boolean isOverwrite()
public void setOverwrite(boolean overwrite)
public String getTopicFolder()
public void setTopicFolder(String topicFolder)
public File getFile()
public void setFile(File file)
public MarkupToDitaTask.BreakStrategy getTopicStrategy()
public void setTopicStrategy(MarkupToDitaTask.BreakStrategy topicStrategy)
|
Mylyn WikiText | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |