Interface GQL.ParserCallback

Enclosing class:

public static interface GQL.ParserCallback

Defines a callback interface that may be implemented by client code to get a callback for each GQL term that is parsed.

Method Summary
 void term(String property, String value, boolean optional)
          A GQL term was parsed.

Method Detail


void term(String property,
          String value,
          boolean optional)
          throws RepositoryException
A GQL term was parsed.

property - the name of the property or an empty string if the term is not prefixed.
value - the value of the term.
optional - whether this term is prefixed with an OR operator.
RepositoryException - if an error occurs while processing the term.

Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.