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.
token_source
public ISO8601ParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
ISO8601Parser
public ISO8601Parser(InputStream stream)
ISO8601Parser
public ISO8601Parser(Reader stream)
ISO8601Parser
public ISO8601Parser(ISO8601ParserTokenManager tm)
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()