public class XmlTagUtil extends XmlTagUtilBase
Constructor and Description |
---|
XmlTagUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.CharSequence |
composeTagText(java.lang.String tagName,
java.lang.String tagValue) |
static java.lang.String |
getCDATAQuote(java.lang.String text)
if text contains XML-sensitive characters (<,>), quote text with ![CDATA[ ...
|
static char |
getCharacterByEntityName(java.lang.String entityName) |
static java.lang.String[] |
getCharacterEntityNames() |
static XmlToken |
getEndTagNameElement(XmlTag tag) |
static TextRange |
getEndTagRange(XmlTag tag) |
static java.lang.String |
getInlineQuote(java.lang.String text) |
static XmlToken |
getStartTagNameElement(XmlTag tag) |
static TextRange |
getStartTagRange(XmlTag tag) |
static TextRange |
getTrimmedValueRange(XmlTag tag) |
escapeString
public static java.lang.String getCDATAQuote(java.lang.String text)
text
- public static java.lang.String getInlineQuote(java.lang.String text)
public static java.lang.CharSequence composeTagText(java.lang.String tagName, java.lang.String tagValue)
public static java.lang.String[] getCharacterEntityNames()
public static char getCharacterByEntityName(java.lang.String entityName)