|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.lagarto.dom.Node
jodd.lagarto.dom.Text
public class Text
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jodd.lagarto.dom.Node |
|---|
Node.NodeType |
| Field Summary |
|---|
| Fields inherited from class jodd.lagarto.dom.Node |
|---|
attributes, caseSensitive, childElementNodes, childElementNodesCount, childNodes, deepLevel, nodeName, nodeType, nodeValue, parentNode, siblingElementIndex, siblingIndex, siblingNameIndex |
| Constructor Summary | |
|---|---|
Text()
|
|
Text(java.lang.String text)
|
|
| Method Summary | |
|---|---|
Text |
clone()
|
java.lang.String |
getTextContent()
Returns decoded HTML text. |
void |
setTextContent(java.lang.String text)
Sets HTML text, but encodes it first. |
void |
setTextStrict(java.lang.String text)
Sets HTML text, but encodes it first. |
void |
toHtml(java.lang.Appendable appendable)
Generates HTML by appending it to the provided Appendable. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Text()
public Text(java.lang.String text)
| Method Detail |
|---|
public Text clone()
clone in class Nodepublic void setTextContent(java.lang.String text)
public java.lang.String getTextContent()
getTextContent in class Nodepublic void setTextStrict(java.lang.String text)
public void toHtml(java.lang.Appendable appendable)
throws java.io.IOException
NodeAppendable.
toHtml in class Nodejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||