|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Parser
Class used to parse the source. The class has a few purposes:
| Method Summary | |
|---|---|
Collection<DroolsResource> |
getDroolsResources()
Returns resources (typically DRL files) used by Drools engine to process parser output. |
Class<? extends ElementFactory> |
getElementFactoryClass()
Returns class implementing ElementFactory that is used to insert elements into Drools working memory |
void |
parse(ElementFactory factory,
Source source)
Parses given source and inserts Elements through ElementFactory |
| Method Detail |
|---|
void parse(ElementFactory factory,
Source source)
throws ParserException
factory - - ElementFactory to be usedsource - - source to parse
ParserException - - when something goes wrong during parsingCollection<DroolsResource> getDroolsResources()
Class<? extends ElementFactory> getElementFactoryClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||