public class Parser<E> extends ContextAwareBase
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
DEFAULT_COMPOSITE_CONVERTER_MAP |
static java.lang.String |
MISSING_RIGHT_PARENTHESIS |
static java.lang.String |
REPLACE_CONVERTER_WORD |
Constructor and Description |
---|
Parser(java.lang.String pattern) |
Parser(java.lang.String pattern,
IEscapeUtil escapeUtil) |
Modifier and Type | Method and Description |
---|---|
Converter<E> |
compile(Node top,
java.util.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, getStatusManager, setContext
public static final java.lang.String MISSING_RIGHT_PARENTHESIS
public static final java.util.Map<java.lang.String,java.lang.String> DEFAULT_COMPOSITE_CONVERTER_MAP
public static final java.lang.String REPLACE_CONVERTER_WORD
public Parser(java.lang.String pattern) throws ScanException
ScanException
public Parser(java.lang.String pattern, IEscapeUtil escapeUtil) throws ScanException
ScanException
public Converter<E> compile(Node top, java.util.Map converterMap)
top
- converterMap
- ScanException
public Node parse() throws ScanException
ScanException
Copyright © 2010 - 2020 Adobe. All Rights Reserved