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

secondL

public final void secondL()
                   throws ParseException

secondV

public final void secondV()
                   throws ParseException

durationTypeL

public final void durationTypeL()
                         throws ParseException

durationTypeV

public final ITimeDurationValueType durationTypeV()
                                           throws ParseException

datePartL

public final void datePartL()
                     throws ParseException

datePartV

public final void datePartV(boolean neg)
                     throws ParseException

timePartL

public final void timePartL()
                     throws ParseException

timePartV

public final void timePartV(boolean neg)
                     throws ParseException

intDigits

public final Number intDigits(boolean neg)
                       throws ParseException

decimalDigits

public final void decimalDigits(boolean neg)
                         throws ParseException

NN

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

timeZoneModifierL

public final void timeZoneModifierL()
                             throws ParseException

timeZoneModifierV

public final void timeZoneModifierV()
                             throws ParseException

timeL

public final void timeL()
                 throws ParseException

timeV

public final void timeV()
                 throws ParseException

yearL

public final int yearL()
                throws ParseException

yearV

public final void yearV()
                 throws ParseException

month

public final void month()
                 throws ParseException

day

public final void day()
               throws ParseException

dateL

public final void dateL()
                 throws ParseException

dateV

public final void dateV()
                 throws ParseException

dateTimeTypeL

public final void dateTimeTypeL()
                         throws ParseException

dateTimeTypeV

public final IDateTimeValueType dateTimeTypeV()
                                       throws ParseException

timeTypeL

public final void timeTypeL()
                     throws ParseException

timeTypeV

public final IDateTimeValueType timeTypeV()
                                   throws ParseException

dateTypeL

public final void dateTypeL()
                     throws ParseException

dateTypeV

public final IDateTimeValueType dateTypeV()
                                   throws ParseException

yearMonthTypeL

public final void yearMonthTypeL()
                          throws ParseException

yearMonthTypeV

public final IDateTimeValueType yearMonthTypeV()
                                        throws ParseException

yearTypeL

public final void yearTypeL()
                     throws ParseException

yearTypeV

public final IDateTimeValueType yearTypeV()
                                   throws ParseException

monthDayTypeL

public final void monthDayTypeL()
                         throws ParseException

monthDayTypeV

public final IDateTimeValueType monthDayTypeV()
                                       throws ParseException

dayTypeL

public final void dayTypeL()
                    throws ParseException

dayTypeV

public final IDateTimeValueType dayTypeV()
                                  throws ParseException

monthTypeL

public final void monthTypeL()
                      throws ParseException

monthTypeV

public final IDateTimeValueType monthTypeV()
                                    throws 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()