
Public Member Functions | |
| Number | currentLevel () |
| ERXNestedList (WOContext context) | |
| String | listTagName () |
| void | popLevel () |
| void | pushLevel () |
| void | setCurrentLevel (Number aChildLevel) |
Static Private Attributes | |
| static final org.apache.log4j.Logger | log = org.apache.log4j.Logger.getLogger(ERXNestedList.class) |
| ERXNestedList | ( | WOContext | context | ) |
| Number currentLevel | ( | ) |
Method to return the current level. This method always returns null and is basically a no-op, but it is required by Key-Value coding (since we have a setCurrentLevel method).
| String listTagName | ( | ) |
Method to return the tag name for the list. If the 'isOrdered' binding is present, the list is an ORDERED-LIST (
| void popLevel | ( | ) |
Method to push the current level (always 0) into the parent; this always happens at the bottom/end of a list (to let the parent know we are done with the list
| void pushLevel | ( | ) |
Method to push the current level (always 1) into the parent; this always happens at the top/beginning of a list (to let the parent know we are in the list
| void setCurrentLevel | ( | Number | aChildLevel | ) |
Method to set the current level (based on the child level). Whatever the child passes in, we add one (to represent another level deep in the order). By the time the value get to the root, it reflects the total number of levels between the top and bottom.
final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(ERXNestedList.class) [static, private] |
1.5.8