org.apache.commons.jelly.tags.ant
Class JellyPropsHandler
java.lang.Object
|
+--org.apache.commons.grant.DefaultPropsHandler
|
+--org.apache.commons.jelly.tags.ant.JellyPropsHandler
- All Implemented Interfaces:
- org.apache.commons.grant.PropsHandler
- public class JellyPropsHandler
- extends org.apache.commons.grant.DefaultPropsHandler
Implementation of a Commons Grant propsHandler
to resolve through Jelly's context.
- Author:
- Bob McWhirter, Stephen Haberman
Fields inherited from class org.apache.commons.grant.DefaultPropsHandler |
inheritedProperties, properties, userProperties |
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.grant.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 |
JellyPropsHandler
public JellyPropsHandler(JellyContext context)
- Simple constructor with the context to be used.
- Parameters:
context
- The context to be used.
setProperty
public void setProperty(java.lang.String name,
java.lang.String value)
- Set an ant property.
- Overrides:
setProperty
in class org.apache.commons.grant.DefaultPropsHandler
- Parameters:
name
- The property name.value
- The property value.
getProperty
public java.lang.String getProperty(java.lang.String name)
- Retrieve an ant property.
- Overrides:
getProperty
in class org.apache.commons.grant.DefaultPropsHandler
- Parameters:
name
- The property name.- Returns:
- The property value.
getProperties
public java.util.Hashtable getProperties()
- Retrieve all ant properties.
- Overrides:
getProperties
in class org.apache.commons.grant.DefaultPropsHandler
- Returns:
- A
Hashtable
of all properties.
Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.