flattree.tree
Class SyntheticNode

java.lang.Object
  extended by flattree.tree.AbstractNode
      extended by flattree.tree.SyntheticNode
All Implemented Interfaces:
Node

public class SyntheticNode
extends AbstractNode

A synthetic Node in the tree without a flat representation.


Constructor Summary
SyntheticNode()
           
SyntheticNode(String name)
           
 
Method Summary
protected  ReadLine beforeRead(ReadLine line)
          Limits the given line to a zero length.
protected  WriteLine beforeWrite(WriteLine line)
          Limits the given line to a zero length.
 
Methods inherited from class flattree.tree.AbstractNode
add, add, getLeaves, getName, getNodes, read, setLeaves, setName, setNodes, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntheticNode

public SyntheticNode()

SyntheticNode

public SyntheticNode(String name)
Method Detail

beforeRead

protected ReadLine beforeRead(ReadLine line)
Limits the given line to a zero length.

Overrides:
beforeRead in class AbstractNode
Parameters:
line - line to wrap before read
Returns:
line to read from

beforeWrite

protected WriteLine beforeWrite(WriteLine line)
Limits the given line to a zero length.

Overrides:
beforeWrite in class AbstractNode
Parameters:
line - line to wrap before write
Returns:
line to write to


Copyright © 2011. All Rights Reserved.