|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.struts.taglib.nested.NestedReference
So that a nested hierarchy can penetrate a dynamic JSP include, this class will hold the details of a bean name and nested property.
Field Summary | |
private java.lang.String |
beanName
|
private java.lang.String |
property
|
Constructor Summary | |
NestedReference()
Empty constructor. |
|
NestedReference(java.lang.String name,
java.lang.String property)
Constructor takes the all the relevant details to init the object. |
Method Summary | |
java.lang.String |
getBeanName()
Getter for the bean name |
java.lang.String |
getNestedProperty()
Getter for the nested property |
void |
setBeanName(java.lang.String newName)
Setter for the bean name |
void |
setNestedProperty(java.lang.String newProperty)
Setter for the nested property |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String beanName
private java.lang.String property
Constructor Detail |
public NestedReference()
public NestedReference(java.lang.String name, java.lang.String property)
name
- String name of the bean that the include is to referenceproperty
- String nested property value that the include will be
continuing on with.Method Detail |
public java.lang.String getBeanName()
public void setBeanName(java.lang.String newName)
newName
- String value to set the bean reference.public java.lang.String getNestedProperty()
public void setNestedProperty(java.lang.String newProperty)
newProperty
- String value of the new current nesting level
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |