Modifier and Type | Field and Description |
---|---|
static String[] |
falseValues
Entries that convert to a boolean false.
|
protected static org.apache.logging.log4j.Logger |
LOGGER |
static HashMap<Character,Character> |
quotMatches
Recognized quotation marks.
|
static String[] |
trueValues
Entries that convert to a boolean true.
|
static HashMap<Character,String> |
xmlChars
XML/HTML conversion characters.
|
Constructor and Description |
---|
AbstractLexer() |
Modifier and Type | Method and Description |
---|---|
static String |
htmlChars2XML(String s)
Converts matched html strings to xml characters.
|
static void |
init()
Initializes xmlChars and quotMatches.
|
static boolean |
isA(char possibleQuot)
Utility class for quotation marks.
|
abstract Map |
lex(Reader reader)
Abstract lexing method.
|
static String |
xmlChars2HTML(String s)
Converts matched xml characters in s to html characters.
|
protected static final org.apache.logging.log4j.Logger LOGGER
public static final String[] trueValues
public static final String[] falseValues
public static void init()
public static boolean isA(char possibleQuot)
possibleQuot
- Character that might be a quotation mark.public static String xmlChars2HTML(String s)
s
- Input string containing XML characters.public static String htmlChars2XML(String s)
s
- Input string containing HTML characters.Copyright © 2015. All rights reserved.