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.query.xpath
Class XPSuggest

    java.lang.Object
      org.basex.query.QueryParser
          org.basex.query.xpath.XPParser
              org.basex.query.xpath.XPSuggest

    public final class XPSuggest

extends XPParser

This class analyzes the current path and gives suggestions for code completions.

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

Field Summary

Fields inherited from class org.basex.query.QueryParser
`file, ql, qm, qp, qu`

Constructor Summary
`XPSuggest(java.lang.String q, Context c)` Constructor, specifying a node set.

Method Summary
`StringList` | `complete()` Returns the code completions.

Methods inherited from class org.basex.query.xpath.XPParser
`parse, parse`

Methods inherited from class org.basex.query.QueryParser
`consume, consume, consume, consumeWS, curr, curr, ent, found, init, invalidEnt, mark, more, next, quote, rest, valid`

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

Constructor Detail

### XPSuggest

    public XPSuggest(java.lang.String q,
                     Context c)

  Constructor, specifying a node set.

  Parameters:
    `q` - query
    `c` - context

Method Detail

### complete

    public StringList complete()

  Returns the code completions.

  Returns:
    completions

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