|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.standalone.cli.JcrParser
public class JcrParser
Input Parser
| Constructor Summary | |
|---|---|
JcrParser()
Constructor |
|
| Method Summary | |
|---|---|
void |
depopulateContext(org.apache.commons.chain.Context ctx)
Remove Context attribute specific to the parsed
Command |
org.apache.commons.chain.Command |
getCommand()
|
void |
parse(String input)
Parse the user's input. |
void |
populateContext(org.apache.commons.chain.Context ctx)
Populate the Context with the attributes needed by the
Command |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JcrParser()
| Method Detail |
|---|
public void parse(String input)
throws JcrParserException,
ConfigurationException
input - user's input
JcrParserException - if the input is illegal
ConfigurationException - if the mapped command can't be mapped to a Commons Chain Commandpublic void populateContext(org.apache.commons.chain.Context ctx)
Context with the attributes needed by the
Command
ctx - the Contextpublic void depopulateContext(org.apache.commons.chain.Context ctx)
Context attribute specific to the parsed
Command
ctx - the Contextpublic org.apache.commons.chain.Command getCommand()
Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||