Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.util
Class InputParser

    java.lang.Object
      org.basex.util.InputParser

Direct Known Subclasses:
  CommandParser, QueryParser

    public abstract class InputParser

extends Object

Simple query parser; can be overwritten to support more complex parsings.

Author:
  Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Field Summary
`IO` | `file` Optional reference to query input.
`int` | `ql` Query length.
`int` | `qm` Marked query position.
`int` | `qp` Current query position.
`String` | `qu` Input query.

Constructor Summary
`InputParser()`

Method Summary
`void` | `init(String q)` Constructor.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### file

    public IO file

  Optional reference to query input.

### qu

    public String qu

  Input query.

### qp

    public int qp

  Current query position.

### qm

    public int qm

  Marked query position.

### ql

    public int ql

  Query length.

Constructor Detail

### InputParser

    public InputParser()

Method Detail

### init

    public final void init(String q)

  Constructor.

  Parameters:
    `q` - input query

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD