public class Parser<E> extends ContextAwareBase
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
DEFAULT_COMPOSITE_CONVERTER_MAP |
static String |
MISSING_RIGHT_PARENTHESIS |
static String |
REPLACE_CONVERTER_WORD |
context
Constructor and Description |
---|
Parser(String pattern) |
Parser(String pattern,
IEscapeUtil escapeUtil) |
Modifier and Type | Method and Description |
---|---|
Converter<E> |
compile(Node top,
Map converterMap)
When the parsing step is done, the Node list can be transformed into a
converter chain.
|
Node |
parse() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public static final String MISSING_RIGHT_PARENTHESIS
public static final Map<String,String> DEFAULT_COMPOSITE_CONVERTER_MAP
public static final String REPLACE_CONVERTER_WORD
public Parser(String pattern) throws ScanException
ScanException
public Parser(String pattern, IEscapeUtil escapeUtil) throws ScanException
ScanException
public Converter<E> compile(Node top, Map converterMap)
top
- the top nodeconverterMap
- converter mappublic Node parse() throws ScanException
ScanException
Copyright © 2005–2014 QOS.ch. All rights reserved.