org.mycore.parsers.bool
Class MCRBooleanClauseParser

java.lang.Object
  extended by org.mycore.parsers.bool.MCRBooleanClauseParser
Direct Known Subclasses:
MCRQueryParser, MCRRuleParser

public class MCRBooleanClauseParser
extends Object

Class for parsing Boolean clauses

Author:
Matthias Kramm

Constructor Summary
MCRBooleanClauseParser()
           
 
Method Summary
protected  MCRCondition defaultRule()
           
static void main(String[] args)
           
 MCRCondition parse(Element condition)
           
 MCRCondition parse(String s)
           
protected  MCRCondition parseSimpleCondition(Element e)
           
protected  MCRCondition parseSimpleCondition(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRBooleanClauseParser

public MCRBooleanClauseParser()
Method Detail

parse

public MCRCondition parse(Element condition)

parse

public MCRCondition parse(String s)
                   throws MCRParseException
Throws:
MCRParseException

parseSimpleCondition

protected MCRCondition parseSimpleCondition(String s)
                                     throws MCRParseException
Throws:
MCRParseException

parseSimpleCondition

protected MCRCondition parseSimpleCondition(Element e)
                                     throws MCRParseException
Throws:
MCRParseException

defaultRule

protected MCRCondition defaultRule()

main

public static void main(String[] args)