APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.impl.xpath.regex

pack-priv Class ParserForXMLSchema

extends RegexParser
Class Inheritance
Imports
java.util.HashMap, .Locale, .Map

A regular expression parser for the XML Schema.
Author
TAMURA Kent <[email protected]>

Field Summary

Modifier and TypeField and Description
private static final int[]
private static final String
private static final int[]
private static final String
private static Map<String, Token>
private static Map<String, Token>
private static final String
Inherited from com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser:
chardatacontexthasBackReferencesnexttokenoffsetoptionsparennumberparenOpenedreferencesregexregexlenresourcesS_INBRACKETSS_INXBRACKETSS_NORMALT_BACKSOLIDUST_CARETT_CHART_COMMENTT_CONDITIONT_DOLLART_DOTT_EOFT_INDEPENDENTT_LBRACKETT_LOOKAHEADT_LOOKBEHINDT_LPARENT_LPAREN2T_MODIFIERST_NEGATIVELOOKAHEADT_NEGATIVELOOKBEHINDT_ORT_PLUST_POSIX_CHARCLASS_STARTT_QUESTIONT_RPARENT_SET_OPERATIONST_START_XMLSCHEMA_CC_SUBTRACTION

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
pack-priv int
protected static synchronized RangeToken
getRange(String name, boolean positive)

pack-priv Token
protected RangeToken

Returns:

This returns no NrageToken.
parseCharacterClass
(boolean useNrange)

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.parseCharacterClass.

Parses a character-class-expression, not a character-class-escape.

protected RangeToken
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv int
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv Token
pack-priv static void
setupRange(Token range, String src)

pack-priv static void
setupRange(Token range, int[] src)

Inherited from com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser:
addCaseInsensitiveCharaddCaseInsensitiveCharRangeexisSetnextparseparseAtomparseFactorparseRegexparseTermprocessBacksolidus_pPreadsetContextsetLocale

Field Detail

DIGITS_INTSback to summary
private static final int[] DIGITS_INTS
LETTERSback to summary
private static final String LETTERS
LETTERS_INTback to summary
private static final int[] LETTERS_INT
NAMECHARSback to summary
private static final String NAMECHARS
rangesback to summary
private static Map<String, Token> ranges
ranges2back to summary
private static Map<String, Token> ranges2
SPACESback to summary
private static final String SPACES

Constructor Detail

ParserForXMLSchemaback to summary
public ParserForXMLSchema()
ParserForXMLSchemaback to summary
public ParserForXMLSchema(Locale locale)

Method Detail

checkQuestionback to summary
pack-priv boolean checkQuestion(int off)

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.checkQuestion.

decodeEscapedback to summary
pack-priv int decodeEscaped() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.decodeEscaped.

getRangeback to summary
protected static synchronized RangeToken getRange(String name, boolean positive)
getTokenForShorthandback to summary
pack-priv Token getTokenForShorthand(int ch)

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.getTokenForShorthand.

parseCharacterClassback to summary
protected RangeToken parseCharacterClass(boolean useNrange) throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.parseCharacterClass.

Parses a character-class-expression, not a character-class-escape. c-c-expression ::= '[' c-group ']' c-group ::= positive-c-group | negative-c-group | c-c-subtraction positive-c-group ::= (c-range | c-c-escape)+ negative-c-group ::= '^' positive-c-group c-c-subtraction ::= (positive-c-group | negative-c-group) subtraction subtraction ::= '-' c-c-expression c-range ::= single-range | from-to-range single-range ::= multi-c-escape | category-c-escape | block-c-escape | <any XML char> cc-normal-c ::= <any character except [, ], \> from-to-range ::= cc-normal-c '-' cc-normal-c

Returns:RangeToken

This returns no NrageToken.

parseSetOperationsback to summary
protected RangeToken parseSetOperations() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.parseSetOperations.

Doc from com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.parseSetOperations.

'(?[' ... ']' (('-' | '+' | '&') '[' ... ']')? ')'

processBackreferenceback to summary
pack-priv Token processBackreference() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBackreference.

processBacksolidus_Aback to summary
pack-priv Token processBacksolidus_A() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_A.

processBacksolidus_bback to summary
pack-priv Token processBacksolidus_b() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_b.

processBacksolidus_Bback to summary
pack-priv Token processBacksolidus_B() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_B.

processBacksolidus_cback to summary
pack-priv Token processBacksolidus_c() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_c.

processBacksolidus_Cback to summary
pack-priv Token processBacksolidus_C() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_C.

processBacksolidus_gback to summary
pack-priv Token processBacksolidus_g() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_g.

processBacksolidus_gtback to summary
pack-priv Token processBacksolidus_gt() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_gt.

processBacksolidus_iback to summary
pack-priv Token processBacksolidus_i() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_i.

processBacksolidus_Iback to summary
pack-priv Token processBacksolidus_I() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_I.

processBacksolidus_ltback to summary
pack-priv Token processBacksolidus_lt() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_lt.

processBacksolidus_Xback to summary
pack-priv Token processBacksolidus_X() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_X.

processBacksolidus_Zback to summary
pack-priv Token processBacksolidus_Z() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_Z.

processBacksolidus_zback to summary
pack-priv Token processBacksolidus_z() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processBacksolidus_z.

processCaretback to summary
pack-priv Token processCaret() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processCaret.

processCIinCharacterClassback to summary
pack-priv int processCIinCharacterClass(RangeToken tok, int c)

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processCIinCharacterClass.

processConditionback to summary
pack-priv Token processCondition() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processCondition.

processDollarback to summary
pack-priv Token processDollar() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processDollar.

processIndependentback to summary
pack-priv Token processIndependent() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processIndependent.

processLookaheadback to summary
pack-priv Token processLookahead() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processLookahead.

processLookbehindback to summary
pack-priv Token processLookbehind() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processLookbehind.

processModifiersback to summary
pack-priv Token processModifiers() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processModifiers.

processNegativelookaheadback to summary
pack-priv Token processNegativelookahead() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processNegativelookahead.

processNegativelookbehindback to summary
pack-priv Token processNegativelookbehind() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processNegativelookbehind.

processParenback to summary
pack-priv Token processParen() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processParen.

processParen2back to summary
pack-priv Token processParen2() throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processParen2.

processPlusback to summary
pack-priv Token processPlus(Token tok) throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processPlus.

processQuestionback to summary
pack-priv Token processQuestion(Token tok) throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processQuestion.

processStarback to summary
pack-priv Token processStar(Token tok) throws ParseException

Overrides com.sun.org.apache.xerces.internal.impl.xpath.regex.RegexParser.processStar.

setupRangeback to summary
pack-priv static void setupRange(Token range, String src)
setupRangeback to summary
pack-priv static void setupRange(Token range, int[] src)