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-processedIOExceptionString expand(String source)
source - the source code to be expandedvoid addDSLMapping(DSLMapping mapping)
mapping - List<ExpanderException> getErrors()
ExpanderExceptionboolean hasErrors()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.