public class ContentNode extends BaseTokenImpl implements HtmlNode
HTML text token.
Modifier and Type | Field and Description |
---|---|
protected boolean |
blank |
protected String |
content |
Constructor and Description |
---|
ContentNode(String content) |
Modifier and Type | Method and Description |
---|---|
String |
getContent() |
boolean |
isBlank() |
void |
serialize(Serializer serializer,
Writer writer) |
String |
toString() |
getCol, getRow, setCol, setRow
protected final String content
protected final boolean blank
public ContentNode(String content)
public String getContent()
public String toString()
toString
in class BaseTokenImpl
public void serialize(Serializer serializer, Writer writer) throws IOException
serialize
in interface BaseToken
IOException
public boolean isBlank()
Copyright © 2006–2018. All rights reserved.