| Access | Constructor and Description |
|---|---|
| pack-priv | WindowReferenceNode(String
The window name referenced windowName, ContextManager The context manager cm)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides org. Format this node as a string Each sub-class of QueryTreeNode should implement its own toString() method. |
| WindowReferenceNode | back to summary |
|---|---|
| pack-priv WindowReferenceNode(String windowName, ContextManager cm) throws StandardException Constructor
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from org. Format this node as a string Each sub-class of QueryTreeNode should implement its own toString() method. In each case, toString() should format the class members that are not sub-types of QueryTreeNode (printSubNodes() takes care of following the references to sub-nodes, and toString() takes care of all members that are not sub-nodes). Newlines should be used liberally - one good way to do this is to have a newline at the end of each formatted member. It's also a good idea to put the name of each member in front of the formatted value. For example, the code might look like: "memberName: " + memberName + "\n" + ... Vector members containing subclasses of QueryTreeNode should subclass QueryTreeNodeVector. Such subclasses form a special case: These classes should not implement printSubNodes, since there is generic handling in QueryTreeNodeVector. They should only implement toString if they contain additional members. | |