public class Emphasis extends SimpleNode
| Modifier and Type | Class and Description |
|---|---|
static class |
Emphasis.Type |
children, id, parent, value| Constructor and Description |
|---|
Emphasis(int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the visitor.
|
String |
getText() |
Emphasis.Type |
getType() |
void |
makeBold() |
void |
makeItalic() |
void |
makeItalicAndBold() |
void |
setText(String text) |
void |
setType(Emphasis.Type type) |
childrenAccept, dump, getDocument, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toStringpublic String getText()
public void setText(String text)
public Emphasis.Type getType()
public void setType(Emphasis.Type type)
public void accept(Visitor visitor)
SimpleNodeaccept in interface Nodeaccept in class SimpleNodepublic void makeItalic()
public void makeBold()
public void makeItalicAndBold()
Copyright © 2009-2013 Tautua. All Rights Reserved.