public class DefaultExpanderResolver extends Object implements ExpanderResolver
Constructor and Description |
---|
DefaultExpanderResolver()
Create an empty resolver, which you will then
call addExpander multiple times, to map a specific expander
with a name that will be found in the drl after the expander keyword.
|
DefaultExpanderResolver(Reader reader)
This will load up a DSL from the reader specified.
|
Modifier and Type | Method and Description |
---|---|
void |
addExpander(String name,
Expander expander)
Add an expander with the given name, which will be used
by looking for the "expander" keyword in the DRL.
|
Expander |
get(String name,
String config) |
public DefaultExpanderResolver()
public DefaultExpanderResolver(Reader reader) throws IOException
IOException
public void addExpander(String name, Expander expander)
public Expander get(String name, String config)
get
in interface ExpanderResolver
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.