public class JcrParser extends Object
| Constructor and Description | 
|---|
JcrParser()
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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 | 
public void parse(String input) throws JcrParserException, ConfigurationException
input - user's inputJcrParserException - if the input is illegalConfigurationException - 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
 Commandctx - the Contextpublic void depopulateContext(org.apache.commons.chain.Context ctx)
Context attribute specific to the parsed
 Commandctx - the Contextpublic org.apache.commons.chain.Command getCommand()
CommandCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.