public class WPCell extends Object
{| ..... |} ). See: Help - Table| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGN_CENTER |
static int |
ALIGN_JUSTIFY |
static int |
ALIGN_LEFT |
static int |
ALIGN_NOT_SET |
static int |
ALIGN_RIGHT |
static int |
CAPTION
The >caption< tag should be used
|
static int |
DEFAULT
The >td< tag should be used
|
static int |
TH
The >th< tag should be used
|
static int |
UNDEFINED
No table cell tag specified in the wiki table
|
| Constructor and Description |
|---|
WPCell(int start) |
| Modifier and Type | Method and Description |
|---|---|
void |
createTagStack(WPTable parent,
char[] src,
IWikiModel wikiModel,
int endPos)
Create the internal TagNodes stack for a single table cell
|
int |
getAlign() |
int |
getEndPos() |
Map<String,String> |
getNodeAttributes() |
int |
getStartPos() |
TagStack |
getTagStack() |
int |
getType() |
void |
renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
renderPlainText(ITextConverter converter,
Appendable buf,
IWikiModel wikiModel) |
void |
setAttributesStartPos(int attributesStartPos) |
void |
setStartPos(int startPos) |
void |
setType(int type) |
public static final int ALIGN_NOT_SET
public static final int ALIGN_LEFT
public static final int ALIGN_RIGHT
public static final int ALIGN_CENTER
public static final int ALIGN_JUSTIFY
public static final int DEFAULT
public static final int TH
public static final int CAPTION
public static final int UNDEFINED
public int getEndPos()
public void createTagStack(WPTable parent, char[] src, IWikiModel wikiModel, int endPos)
endPos - The endPos to set.public int getStartPos()
public void setStartPos(int startPos)
startPos - The startPos to set.public void setAttributesStartPos(int attributesStartPos)
attributesStartPos - the fAttributesStartPos to setpublic void renderHTML(ITextConverter converter, Appendable buf, IWikiModel wikiModel) throws IOException
IOExceptionpublic void renderPlainText(ITextConverter converter, Appendable buf, IWikiModel wikiModel) throws IOException
IOExceptionpublic int getType()
public int getAlign()
public void setType(int type)
type - The type to set.public TagStack getTagStack()
Copyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.