info.bliki.wiki.filter
Class WPCell

java.lang.Object
  extended by info.bliki.wiki.filter.WPCell

public class WPCell
extends java.lang.Object


Field Summary
static int ALIGN_CENTER
           
static int ALIGN_JUSTIFY
           
static int ALIGN_LEFT
           
static int ALIGN_NOT_SET
           
static int ALIGN_RIGHT
           
static int CAPTION
           
static int DEFAULT
           
static int TH
           
 
Constructor Summary
WPCell(int start)
           
 
Method Summary
 void createTagStack(WPTable parent, java.lang.String src, IWikiModel wikiModel, int endPos)
          Create the internal TagNodes stack for a single table cell
 int getAlign()
           
 int getEndPos()
           
 java.util.Map<java.lang.String,java.lang.String> getNodeAttributes()
           
 int getStartPos()
           
 TagStack getTagStack()
           
 int getType()
           
 void renderHTML(ITextConverter converter, java.lang.Appendable buf, IWikiModel wikiModel)
           
 void renderLaTeX(ITextConverter converter, java.lang.Appendable _out, IWikiModel wikiModel)
           
 void setStartPos(int startPos)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIGN_NOT_SET

public static final int ALIGN_NOT_SET
See Also:
Constant Field Values

ALIGN_LEFT

public static final int ALIGN_LEFT
See Also:
Constant Field Values

ALIGN_RIGHT

public static final int ALIGN_RIGHT
See Also:
Constant Field Values

ALIGN_CENTER

public static final int ALIGN_CENTER
See Also:
Constant Field Values

ALIGN_JUSTIFY

public static final int ALIGN_JUSTIFY
See Also:
Constant Field Values

DEFAULT

public static final int DEFAULT
See Also:
Constant Field Values

TH

public static final int TH
See Also:
Constant Field Values

CAPTION

public static final int CAPTION
See Also:
Constant Field Values
Constructor Detail

WPCell

public WPCell(int start)
Method Detail

getEndPos

public int getEndPos()
Returns:
Returns the endPos.

createTagStack

public void createTagStack(WPTable parent,
                           java.lang.String src,
                           IWikiModel wikiModel,
                           int endPos)
Create the internal TagNodes stack for a single table cell

Parameters:
endPos - The endPos to set.

getStartPos

public int getStartPos()
Returns:
Returns the startPos.

setStartPos

public void setStartPos(int startPos)
Parameters:
startPos - The startPos to set.

renderHTML

public void renderHTML(ITextConverter converter,
                       java.lang.Appendable buf,
                       IWikiModel wikiModel)
                throws java.io.IOException
Throws:
java.io.IOException

renderLaTeX

public void renderLaTeX(ITextConverter converter,
                        java.lang.Appendable _out,
                        IWikiModel wikiModel)
                 throws java.io.IOException
Throws:
java.io.IOException

getType

public int getType()
Returns:
Returns the type.

getAlign

public int getAlign()

setType

public void setType(int type)
Parameters:
type - The type to set.

getTagStack

public TagStack getTagStack()

getNodeAttributes

public java.util.Map<java.lang.String,java.lang.String> getNodeAttributes()