org.basex.core.parse
Class StringParser

java.lang.Object
  extended by org.basex.core.parse.StringParser

public final class StringParser
extends java.lang.Object

This is a parser for command strings, creating Command instances. Several commands can be formulated in one string and separated by semicolons.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Field Summary
protected  PasswordReader pwReader
          Password reader.
protected  boolean single
          Single command flag.
protected  boolean suggest
          Suggest possible completions.
 
Constructor Summary
StringParser(java.lang.String input, Context context)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

suggest

protected boolean suggest
Suggest possible completions.


single

protected boolean single
Single command flag.


pwReader

protected PasswordReader pwReader
Password reader.

Constructor Detail

StringParser

public StringParser(java.lang.String input,
                    Context context)
Constructor.

Parameters:
input - input
context - database context