|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.jelly.tags.ant.DefaultPropsHandler
org.apache.commons.jelly.tags.ant.JellyPropsHandler
public class JellyPropsHandler
Implementation of a Commons Grant propsHandler
to resolve through Jelly's context.
| Field Summary | |
|---|---|
private org.apache.commons.jelly.JellyContext |
context
The JellyContext. |
| Fields inherited from class org.apache.commons.jelly.tags.ant.DefaultPropsHandler |
|---|
inheritedProperties, properties, userProperties |
| Constructor Summary | |
|---|---|
JellyPropsHandler(org.apache.commons.jelly.JellyContext context)
Simple constructor with the context to be used. |
|
| Method Summary | |
|---|---|
java.util.Hashtable |
getProperties()
Retrieve all ant properties. |
java.lang.String |
getProperty(java.lang.String name)
Retrieve an ant property. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Set an ant property. |
| Methods inherited from class org.apache.commons.jelly.tags.ant.DefaultPropsHandler |
|---|
copyInheritedProperties, copyUserProperties, getInheritedProperties, getUserProperties, getUserProperty, setInheritedProperty, setJavaVersionProperty, setNewProperty, setPropertyIfUndefinedByUser, setSystemProperties, setUserProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private org.apache.commons.jelly.JellyContext context
| Constructor Detail |
|---|
public JellyPropsHandler(org.apache.commons.jelly.JellyContext context)
context - The context to be used.| Method Detail |
|---|
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface PropsHandlersetProperty in class DefaultPropsHandlername - The property name.value - The property value.PropsHandler.setProperty(String, String)public java.lang.String getProperty(java.lang.String name)
getProperty in interface PropsHandlergetProperty in class DefaultPropsHandlername - The property name.
PropsHandler.getProperty(String)public java.util.Hashtable getProperties()
getProperties in interface PropsHandlergetProperties in class DefaultPropsHandlerHashtable of all properties.PropsHandler.getProperties()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||