|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.izforge.izpack.ant.ConfigHolder
public class ConfigHolder
A nested element holder for the installation configuration document content. The installation document must be passed in using a CDATA element.
| Field Summary | |
|---|---|
private java.lang.String |
installText
The config element body text with ${x} property references replaced |
private org.apache.tools.ant.Project |
project
The parent element project |
| Constructor Summary | |
|---|---|
ConfigHolder(org.apache.tools.ant.Project project)
|
|
| Method Summary | |
|---|---|
void |
addText(java.lang.String rawText)
Called by ant to set the config element content. |
java.lang.String |
getText()
Get the config element body text with @{x} property references replaced |
(package private) static void |
parseCompileProperties(java.lang.String value,
java.util.Vector<java.lang.String> fragments,
java.util.Vector<java.lang.String> propertyRefs)
Taken from the ant org.apache.tools.ant.PropertyHelper and '$' replaced with '@' to deal with @{x} style property references. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private org.apache.tools.ant.Project project
private java.lang.String installText
| Constructor Detail |
|---|
ConfigHolder(org.apache.tools.ant.Project project)
| Method Detail |
|---|
static void parseCompileProperties(java.lang.String value,
java.util.Vector<java.lang.String> fragments,
java.util.Vector<java.lang.String> propertyRefs)
throws org.apache.tools.ant.BuildException
value - Text to parse. Must not be null.fragments - List to add text fragments to. Must not be null.propertyRefs - List to add property names to. Must not be null.
org.apache.tools.ant.BuildException - if the string contains an opening @{ without a
closing }public void addText(java.lang.String rawText)
rawText - - the raw config element body text.public java.lang.String getText()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||