|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.velocity.runtime.ParserPoolImpl
This wraps the original parser SimplePool class. It also handles instantiating ad-hoc parsers if none are available.
| Constructor Summary | |
ParserPoolImpl()
|
|
| Method Summary | |
Parser |
get()
Call the wrapped pool. |
void |
initialize(RuntimeServices rsvc)
Create the underlying "pool". |
void |
put(Parser parser)
Call the wrapped pool. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParserPoolImpl()
| Method Detail |
public void initialize(RuntimeServices rsvc)
initialize in interface ParserPoolrsvc - public Parser get()
get in interface ParserPoolpublic void put(Parser parser)
put in interface ParserPoolparser -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||