public class XMLUtils extends Object
| Constructor | Description |
|---|---|
XMLUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
escapeTag(String intag) |
Ensure a valid XMLElement name is returned.
Uses the XMLCharReplaces spaces by underscores, < by .lt, > by .gt. |
static String |
escapeXml(String value) |
Escapes <, >, ", &, and ' in XML strings.
|
public static String escapeTag(String intag)
XMLCharInteger.toHexString()intag - the source for the element nameCopyright © 2018. All rights reserved.