org.wikimodel.wem.util
Class ListBuilder

java.lang.Object
  extended by org.wikimodel.wem.util.ListBuilder

public class ListBuilder
extends java.lang.Object

This is an internal utility class used as a context to keep in memory the current state of parsed trees (list items).

Author:
kotelnikov

Constructor Summary
ListBuilder(IListListener listener)
           
 
Method Summary
 void alignContext(java.lang.String row)
           
protected  char getTreeType(char rowType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListBuilder

public ListBuilder(IListListener listener)
Parameters:
listener -
Method Detail

alignContext

public void alignContext(java.lang.String row)
Parameters:
row -
treeParams -
rowParams - the parameters of the row

getTreeType

protected char getTreeType(char rowType)
Parameters:
rowType - the type of the row
Returns:
the type of the tree corresponding to the given row type


Copyright © 2005-2009. All Rights Reserved.