org.springframework.roo.shell
Class SimpleParser

java.lang.Object
  extended by org.springframework.roo.shell.SimpleParser
All Implemented Interfaces:
Parser

@Service
@References(value={@Reference(name="converter",strategy=LOOKUP,policy=DYNAMIC,referenceInterface=Converter.class,cardinality=OPTIONAL_MULTIPLE),@Reference(name="commands",strategy=LOOKUP,policy=DYNAMIC,referenceInterface=CommandMarker.class,cardinality=OPTIONAL_MULTIPLE)})
public final class SimpleParser
extends Object
implements Parser


Constructor Summary
SimpleParser()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
           
 int complete(String buffer, int cursor, List<String> candidates)
           
 Set<String> getEveryCommand()
           
 void helpReferenceGuide()
           
 void obtainHelp(String buffer)
           
 ParseResult parse(String buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleParser

public SimpleParser()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext context)

parse

public ParseResult parse(String buffer)
Specified by:
parse in interface Parser

complete

public int complete(String buffer,
                    int cursor,
                    List<String> candidates)
Specified by:
complete in interface Parser

helpReferenceGuide

public void helpReferenceGuide()

obtainHelp

public void obtainHelp(String buffer)

getEveryCommand

public Set<String> getEveryCommand()


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.