|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is intended to represent a data structure to pass resolved Child elements to the parent element. This is of particular importance as this enable the programmer to reverse the direction of the recursion on the parse tree, hopefully reducing the impact on the heap and overall memory.
Method Summary | |
Element |
getElement()
Returns the type which generated the associated value. |
java.lang.Object |
getValue()
This returns the realized value of an element which was associated with this type. |
Method Detail |
public Element getElement()
Returns the type which generated the associated value. The type is important because it allows easy access to the xml element inheritance tree, allowing the user to test whether it is a valid data entry.
public java.lang.Object getValue()
This returns the realized value of an element which was associated with this type. We recommend that this value be realized prior to the first request for the value (use this object to cache the result). If you do chose to implement this method lazily, consider caching the result as it may be called more than once, expecting the same result both times.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |