|
|||||||||
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
com.sun.wts.tools.htmlmacro.HtmlMacroTask
public class HtmlMacroTask
Field Summary | |
---|---|
private org.apache.tools.ant.types.Path |
classpath
Used to load additional jelly tag libraries. |
private java.io.File |
destdir
|
private java.util.List<org.apache.tools.ant.types.FileSet> |
documents
Source files to process. |
private java.lang.String |
encoding
Encoding of the file to be generated. |
private boolean |
html
Reads the source file as HTML. |
private java.util.Map<java.lang.String,java.lang.String> |
properties
|
private java.util.List<java.io.File> |
tags
Tag files. |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
HtmlMacroTask()
|
Method Summary | |
---|---|
void |
addConfiguredDocuments(org.apache.tools.ant.types.FileSet fs)
Docs to process. |
void |
addConfiguredProperty(org.apache.tools.ant.types.Environment.Variable v)
|
void |
addConfiguredTags(org.apache.tools.ant.types.FileSet fs)
Nested tag files. |
org.apache.tools.ant.types.Path |
createClasspath()
Nested <classpath> element. |
void |
execute()
|
private void |
populateFiles(org.apache.tools.ant.types.FileSet fs,
java.util.List<java.io.File> r)
|
private void |
registerTagLibrariesFromClasspath(org.apache.commons.jelly.JellyContext context)
Look up META-INF/jelly/taglibs and register them all |
void |
setClasspath(org.apache.tools.ant.types.Path cp)
Nested <classpath> element. |
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
|
void |
setDestdir(java.io.File destdir)
|
void |
setEncoding(java.lang.String encoding)
|
void |
setXhtml(boolean value)
True to read the source files as HTML. |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final org.apache.tools.ant.types.Path classpath
private final java.util.List<java.io.File> tags
private boolean html
private java.util.List<org.apache.tools.ant.types.FileSet> documents
private java.io.File destdir
private java.lang.String encoding
When HTML files are loaded locally, it's assumed to be in the system default encoding, so we can't reliably use any encoding. The best bet is to use us-ascii, since it's a subet of most of the encodings used today.
private java.util.Map<java.lang.String,java.lang.String> properties
Constructor Detail |
---|
public HtmlMacroTask()
Method Detail |
---|
public void setDestdir(java.io.File destdir)
public void setClasspath(org.apache.tools.ant.types.Path cp)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public void addConfiguredProperty(org.apache.tools.ant.types.Environment.Variable v)
public void addConfiguredTags(org.apache.tools.ant.types.FileSet fs)
public void addConfiguredDocuments(org.apache.tools.ant.types.FileSet fs)
public void setXhtml(boolean value)
public void setEncoding(java.lang.String encoding)
private void populateFiles(org.apache.tools.ant.types.FileSet fs, java.util.List<java.io.File> r)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
private void registerTagLibrariesFromClasspath(org.apache.commons.jelly.JellyContext context)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |