public class XmlValidator extends Object
Constructor and Description |
---|
XmlValidator() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSafe(String s)
Verifies whether a string consists solely of valid XML characters.
|
static boolean |
isXmlCharacter(int c)
Recognise valid XML characters as defined by
Extensible Markup Language, section 2.2.
|
public static boolean isSafe(String s)
public static boolean isXmlCharacter(int c)
c
- a single characterCopyright © 2020 Atlassian. All rights reserved.