Home » lucene-3.0.1-src » org.apache.lucene.queryParser.standard.parser » [javadoc | source]
public class: StandardSyntaxParser [javadoc | source]

All Implemented Interfaces:
    SyntaxParser, StandardSyntaxParserConstants

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Nested Class Summary:
static final class  StandardSyntaxParser.JJCalls   
Field Summary
public  StandardSyntaxParserTokenManager token_source    Generated Token Manager. 
 JavaCharStream jj_input_stream     
public  Token token    Current token. 
public  Token jj_nt    Next token. 
 public StandardSyntaxParser() 
 public StandardSyntaxParser(InputStream stream) 
    Constructor with InputStream.
 public StandardSyntaxParser(Reader stream) 
 public StandardSyntaxParser(StandardSyntaxParserTokenManager tm) 
    Constructor with generated Token Manager.
 public StandardSyntaxParser(InputStream stream,
    String encoding) 
    Constructor with InputStream and supplied encoding
Method from org.apache.lucene.queryParser.standard.parser.StandardSyntaxParser Summary:
Clause,   ConjQuery,   Conjunction,   DisjQuery,   ModClause,   Modifiers,   Query,   ReInit,   ReInit,   ReInit,   ReInit,   Term,   TopLevelQuery,   disable_tracing,   enable_tracing,   generateParseException,   getNextToken,   getToken,   parse
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.queryParser.standard.parser.StandardSyntaxParser Detail:
 public final QueryNode Clause(CharSequence field) throws ParseException 
 public final QueryNode ConjQuery(CharSequence field) throws ParseException 
 public final int Conjunction() throws ParseException 
 public final QueryNode DisjQuery(CharSequence field) throws ParseException 
 public final QueryNode ModClause(CharSequence field) throws ParseException 
 public final Modifier Modifiers() throws ParseException 
 public final QueryNode Query(CharSequence field) throws ParseException 
 public  void ReInit(InputStream stream) 
 public  void ReInit(Reader stream) 
 public  void ReInit(StandardSyntaxParserTokenManager tm) 
 public  void ReInit(InputStream stream,
    String encoding) 
 public final QueryNode Term(CharSequence field) throws ParseException 
 public final QueryNode TopLevelQuery(CharSequence field) throws ParseException 
 public final  void disable_tracing() 
    Disable tracing.
 public final  void enable_tracing() 
    Enable tracing.
 public ParseException generateParseException() 
    Generate ParseException.
 public final Token getNextToken() 
    Get the next Token.
 public final Token getToken(int index) 
    Get the specific Token.
 public QueryNode parse(CharSequence query,
    CharSequence field) throws QueryNodeParseException