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