|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.parser4j.kernelgenerator.service.grammarnode.GrammarTreeSpringFactory
public final class GrammarTreeSpringFactory
grammar factory from spring xml file:
must define two beans:
Method Summary | |
---|---|
GrammarTreeFactoryData |
createGrammarFromClassPackage(java.lang.Class<?> clazz,
java.lang.String resourceName)
|
GrammarTreeFactoryData |
createGrammarFromClassPath(java.lang.String path)
|
GrammarTreeFactoryData |
createGrammarFromFileSystem(java.lang.String path)
|
static GrammarTreeSpringFactory |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GrammarTreeSpringFactory getInstance()
public GrammarTreeFactoryData createGrammarFromFileSystem(java.lang.String path) throws GrammarNodeVisitException
GrammarNodeVisitException
public GrammarTreeFactoryData createGrammarFromClassPath(java.lang.String path) throws GrammarNodeVisitException
GrammarNodeVisitException
public GrammarTreeFactoryData createGrammarFromClassPackage(java.lang.Class<?> clazz, java.lang.String resourceName) throws GrammarNodeVisitException
GrammarNodeVisitException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |