flattree.tree
Class SyntheticLeaf
java.lang.Object
flattree.tree.AbstractLeaf
flattree.tree.ValueLeaf
flattree.tree.SyntheticLeaf
- All Implemented Interfaces:
- Leaf
public class SyntheticLeaf
- extends ValueLeaf
A Leaf
for a synthetic value in the tree without a flat
representation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyntheticLeaf
protected SyntheticLeaf()
SyntheticLeaf
public SyntheticLeaf(String name,
String value)
getValue
public String getValue()
setValue
public void setValue(String value)
writeValue
protected void writeValue(WriteLine line,
String value)
- Writes nothing.
- Specified by:
writeValue
in class ValueLeaf
- Throws:
TreeException
- if value doesn't equal configured value.- See Also:
setValue(String)
readValue
protected String readValue(ReadLine line)
- Reads nothing.
- Specified by:
readValue
in class ValueLeaf
- Parameters:
line
- line to read from
- Returns:
- configured value
- See Also:
setValue(String)
Copyright © 2011. All Rights Reserved.