com.sun.msv.datatype.xsd.datetime
Class ISO8601Parser

java.lang.Object
  |
  +--com.sun.msv.datatype.xsd.datetime.ISO8601Parser
All Implemented Interfaces:
ISO8601ParserConstants

public class ISO8601Parser
extends Object
implements ISO8601ParserConstants

parses various string that conforms to ISO-8601.


Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 ISO8601ParserTokenManager token_source
           
 
Fields inherited from interface com.sun.msv.datatype.xsd.datetime.ISO8601ParserConstants
DEFAULT, digit, digits, EOF, tokenImage
 
Constructor Summary
ISO8601Parser(InputStream stream)
           
ISO8601Parser(ISO8601ParserTokenManager tm)
           
ISO8601Parser(Reader stream)
           
 
Method Summary
 void dateL()
           
 void datePartL()
           
 void datePartV(boolean neg)
           
 void dateTimeTypeL()
           
 IDateTimeValueType dateTimeTypeV()
           
 void dateTypeL()
           
 IDateTimeValueType dateTypeV()
           
 void dateV()
           
 void day()
           
 void dayTypeL()
           
 IDateTimeValueType dayTypeV()
           
 void decimalDigits(boolean neg)
           
 void disable_tracing()
           
 void durationTypeL()
           
 ITimeDurationValueType durationTypeV()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 Number intDigits(boolean neg)
           
static void main(String[] args)
           
 void month()
           
 void monthDayTypeL()
           
 IDateTimeValueType monthDayTypeV()
           
 void monthTypeL()
           
 IDateTimeValueType monthTypeV()
           
 int NN(int min, int max)
          digits that is 1) width of two 2) within [min,max] (inclusive)
 void ReInit(InputStream stream)
           
 void ReInit(ISO8601ParserTokenManager tm)
           
 void ReInit(Reader stream)
           
 void secondL()
           
 void secondV()
           
 void timeL()
           
 void timePartL()
           
 void timePartV(boolean neg)
           
 void timeTypeL()
           
 IDateTimeValueType timeTypeV()
           
 void timeV()
           
 void timeZoneModifierL()
           
 void timeZoneModifierV()
           
 int yearL()
           
 void yearMonthTypeL()
           
 IDateTimeValueType yearMonthTypeV()
           
 void yearTypeL()
           
 IDateTimeValueType yearTypeV()
           
 void yearV()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public ISO8601ParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

ISO8601Parser

public ISO8601Parser(InputStream stream)

ISO8601Parser

public ISO8601Parser(Reader stream)

ISO8601Parser

public ISO8601Parser(ISO8601ParserTokenManager tm)
Method Detail

main

public static void main(String[] args)
                 throws Exception
Exception

secondL

public final void secondL()
                   throws ParseException
ParseException

secondV

public final void secondV()
                   throws ParseException
ParseException

durationTypeL

public final void durationTypeL()
                         throws ParseException
ParseException

durationTypeV

public final ITimeDurationValueType durationTypeV()
                                           throws ParseException
ParseException

datePartL

public final void datePartL()
                     throws ParseException
ParseException

datePartV

public final void datePartV(boolean neg)
                     throws ParseException
ParseException

timePartL

public final void timePartL()
                     throws ParseException
ParseException

timePartV

public final void timePartV(boolean neg)
                     throws ParseException
ParseException

intDigits

public final Number intDigits(boolean neg)
                       throws ParseException
ParseException

decimalDigits

public final void decimalDigits(boolean neg)
                         throws ParseException
ParseException

NN

public final int NN(int min,
                    int max)
             throws ParseException
digits that is 1) width of two 2) within [min,max] (inclusive)

ParseException

timeZoneModifierL

public final void timeZoneModifierL()
                             throws ParseException
ParseException

timeZoneModifierV

public final void timeZoneModifierV()
                             throws ParseException
ParseException

timeL

public final void timeL()
                 throws ParseException
ParseException

timeV

public final void timeV()
                 throws ParseException
ParseException

yearL

public final int yearL()
                throws ParseException
ParseException

yearV

public final void yearV()
                 throws ParseException
ParseException

month

public final void month()
                 throws ParseException
ParseException

day

public final void day()
               throws ParseException
ParseException

dateL

public final void dateL()
                 throws ParseException
ParseException

dateV

public final void dateV()
                 throws ParseException
ParseException

dateTimeTypeL

public final void dateTimeTypeL()
                         throws ParseException
ParseException

dateTimeTypeV

public final IDateTimeValueType dateTimeTypeV()
                                       throws ParseException
ParseException

timeTypeL

public final void timeTypeL()
                     throws ParseException
ParseException

timeTypeV

public final IDateTimeValueType timeTypeV()
                                   throws ParseException
ParseException

dateTypeL

public final void dateTypeL()
                     throws ParseException
ParseException

dateTypeV

public final IDateTimeValueType dateTypeV()
                                   throws ParseException
ParseException

yearMonthTypeL

public final void yearMonthTypeL()
                          throws ParseException
ParseException

yearMonthTypeV

public final IDateTimeValueType yearMonthTypeV()
                                        throws ParseException
ParseException

yearTypeL

public final void yearTypeL()
                     throws ParseException
ParseException

yearTypeV

public final IDateTimeValueType yearTypeV()
                                   throws ParseException
ParseException

monthDayTypeL

public final void monthDayTypeL()
                         throws ParseException
ParseException

monthDayTypeV

public final IDateTimeValueType monthDayTypeV()
                                       throws ParseException
ParseException

dayTypeL

public final void dayTypeL()
                    throws ParseException
ParseException

dayTypeV

public final IDateTimeValueType dayTypeV()
                                  throws ParseException
ParseException

monthTypeL

public final void monthTypeL()
                      throws ParseException
ParseException

monthTypeV

public final IDateTimeValueType monthTypeV()
                                    throws ParseException
ParseException

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(ISO8601ParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public final ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()