|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.runtime.ParserPoolImpl
public class 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 ParserPool
rsvc
- public Parser get()
get
in interface ParserPool
public void put(Parser parser)
put
in interface ParserPool
parser
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |