public interface Expander
Modifier and Type | Method and Description |
---|---|
void |
addDSLMapping(DSLMapping mapping)
Add the new mapping to this expander.
|
String |
expand(Reader drl)
Expands (process) the expression Just-In-Time for the parser.
|
String |
expand(String source)
Expands (process) the expression Just-In-Time for the parser.
|
List<ExpanderException> |
getErrors()
Returns the list of errors from the last expansion made
|
boolean |
hasErrors()
Returns true in case the last expansion had any errors
|
String expand(Reader drl) throws IOException
drl
- the source code to be pre-processedIOException
String expand(String source)
source
- the source code to be expandedvoid addDSLMapping(DSLMapping mapping)
mapping
- List<ExpanderException> getErrors()
ExpanderException
boolean hasErrors()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.