public class RiskyTextElement extends A_TextElement
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
long serialVersionUID
|
Constructor and Description |
---|
RiskyTextElement(java.lang.String strContents)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toTightString()
Escapes nothing and leaves the text content as is was .
Some sensitive characters like "<", ">" and """ can broke the structure of the document, can can cause some errors. |
addChild, addChild, getContents, setAttribute, setContents, toString, toTightString
addChildren, addChildren, addChildren, addChildren, escapeForDocument, getAttribute, getAttributes, getAttributes, getAttributes, getChild, getChildren, getChildren, getTagName, isForceTight, removeAttribute, removeAttributes, removeAttributes, removeAttributes, removeChild, removeChild, removeChildren, removeChildren, removeChildren, removeChildren, resetAttribute, resetAttributes, resetChild, resetChild, resetChildren, resetChildren, resetChildren, resetChildren, setAttribute, setAttributes, setForceTight, sortChildren, toString, toString, toString, toString, toString, toString, toString, toString
public RiskyTextElement(java.lang.String strContents) throws java.lang.NullPointerException
strContents
- - Content string.java.lang.NullPointerException
- while the given content is null.public java.lang.String toTightString()
toTightString
in class A_TextElement
A_TextElement.toTightString()