org.axiondb.parser
Class AxionDateTimeFormatParser

java.lang.Object
  extended by org.axiondb.parser.AxionDateTimeFormatParser
All Implemented Interfaces:
AxionDateTimeFormatParserConstants

public class AxionDateTimeFormatParser
extends Object
implements AxionDateTimeFormatParserConstants

JavaCC generated date/time format string parser. Generated from AxionDateTimeFormatParser.jj ($Header$). Do not edit this (.java) file directly, it is programmatically generated.


Field Summary
 Token jj_nt
           
 Token token
           
 AxionDateTimeFormatParserTokenManager token_source
           
 
Fields inherited from interface org.axiondb.parser.AxionDateTimeFormatParserConstants
AMPM, CLOSEPAREN, COLON, COMMA, DASH, DAY, DEFAULT, DOT, EOF, ERA, HOUR12, HOUR12_PADDED, HOUR24, HOUR24_PADDED, ISO9660_T, JULIAN_DAY, MILLISECOND, MINUTE, MONTH, MONTH_3, MONTH_FULL, OPENPAREN, QUARTER, SECOND, SEMICOLON, SOLIDUS, tokenImage, WEEK, WEEKDAY, WEEKDAY_FULL, WEEKDAY3, WS, YEAR, YEAR_2
 
Constructor Summary
AxionDateTimeFormatParser()
           
AxionDateTimeFormatParser(AxionDateTimeFormatParserTokenManager tm)
           
AxionDateTimeFormatParser(InputStream stream)
           
AxionDateTimeFormatParser(Reader stream)
           
 
Method Summary
 String convertToJavaFormat()
           
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 String parseDateTimeFormatToJava(String dtPattern)
           
 void ReInit(AxionDateTimeFormatParserTokenManager tm)
           
 void ReInit(InputStream stream)
           
 void ReInit(Reader stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public AxionDateTimeFormatParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

AxionDateTimeFormatParser

public AxionDateTimeFormatParser()

AxionDateTimeFormatParser

public AxionDateTimeFormatParser(InputStream stream)

AxionDateTimeFormatParser

public AxionDateTimeFormatParser(Reader stream)

AxionDateTimeFormatParser

public AxionDateTimeFormatParser(AxionDateTimeFormatParserTokenManager tm)
Method Detail

parseDateTimeFormatToJava

public String parseDateTimeFormatToJava(String dtPattern)
                                 throws AxionException
Throws:
AxionException

convertToJavaFormat

public final String convertToJavaFormat()
                                 throws ParseException
Throws:
ParseException

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(AxionDateTimeFormatParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()