com.generationjava.namespace
Class BeanNamespace
java.lang.Object
|
+--com.generationjava.namespace.AbstractNamespace
|
+--com.generationjava.namespace.BeanNamespace
- All Implemented Interfaces:
- Namespace, java.io.Serializable
- public class BeanNamespace
- extends AbstractNamespace
A Bean namespace. It gets its value from a java-bean.
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
getBean()
|
java.lang.Object |
getValue(java.lang.String name)
Get a property from a bean. |
java.util.Iterator |
iterateNames()
The names in a Namespace |
void |
putValue(java.lang.String name,
java.lang.Object info)
Unimplemented. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanNamespace
public BeanNamespace(java.lang.Object bean)
getBean
public java.lang.Object getBean()
getValue
public java.lang.Object getValue(java.lang.String name)
- Get a property from a bean. Dotted notation, array notation
and associative array notation all apply.
- Specified by:
getValue in interface Namespace- Specified by:
getValue in class AbstractNamespace
putValue
public void putValue(java.lang.String name,
java.lang.Object info)
- Unimplemented.
- Specified by:
putValue in interface Namespace- Specified by:
putValue in class AbstractNamespace
iterateNames
public java.util.Iterator iterateNames()
- Description copied from class:
AbstractNamespace
- The names in a Namespace
- Specified by:
iterateNames in interface Namespace- Specified by:
iterateNames in class AbstractNamespace
Copyright © 2000-2003 GenerationJava. All Rights Reserved.