public static class WebClient.PooledCSS3Parser extends org.htmlunit.cssparser.parser.javacc.CSS3Parser implements AutoCloseable
jj_nt, token, token_source
A_LETTER, AND, ANGLE_DEG, ANGLE_GRAD, ANGLE_RAD, ANGLE_TURN, ASTERISK, ATKEYWORD, C_LETTER, CDC, CDO, CH, CHARSET_SYM, COLON, COMMA, COMMENT, COMMENT_, CUSTOM_PROPERTY_NAME, D_LETTER, DASHMATCH, DEFAULT, DIMENSION, DOT, E_LETTER, EMS, EOF, EQUALS, ESCAPE, EXS, F_LETTER, FONT_FACE_SYM, FREQ_HZ, FREQ_KHZ, FUNCTION, FUNCTION_CALC, FUNCTION_HSL, FUNCTION_LANG, FUNCTION_NOT, FUNCTION_RGB, FUNCTION_VAR, G_LETTER, GREATER, H, H_LETTER, H_PLACEHOLDER, HASH, HNUM, I_LETTER, IDENT, IMPORT_SYM, IMPORTANT_SYM, INCLUDES, INHERIT, K_LETTER, L_LETTER, LBRACE, LENGTH_CM, LENGTH_IN, LENGTH_MM, LENGTH_PC, LENGTH_PT, LENGTH_PX, LENGTH_Q, LROUND, LSQUARE, M_LETTER, MEDIA_SYM, MINUS, N_LETTER, NAME, NL, NMCHAR, NMSTART, NONASCII, NOT, NUM, NUMBER, O_LETTER, ONLY, P_LETTER, PAGE_SYM, PERCENTAGE, PLUS, PREFIXMATCH, R_LETTER, RBRACE, REM, RESOLUTION_DPCM, RESOLUTION_DPI, RROUND, RSQUARE, S, S_LETTER, SEMICOLON, SLASH, STRING, STRING1, STRING2, SUBSTRINGMATCH, SUFFIXMATCH, T_LETTER, TILDE, TIME_MS, TIME_S, tokenImage, U_LETTER, UNICODE, UNICODE_RANGE, UNKNOWN, URI, URL, VH, VMAX, VMIN, VW, X_LETTER, Z_LETTER
Modifier | Constructor and Description |
---|---|
protected |
PooledCSS3Parser(org.htmlunit.WebClient.CSS3ParserPool pool)
Create a new poolable parser.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Implements the AutoClosable interface.
|
protected WebClient.PooledCSS3Parser |
markInUse(org.htmlunit.WebClient.CSS3ParserPool pool)
Resets the parser's pool state so it can be safely returned again.
|
_class, attrib, calc, calcNumberProduct, calcNumberSum, calcNumberValue, calcProduct, calcSum, calcValue, charsetRule, combinator, declaration, dimension, disable_tracing, elementName, enable_tracing, expr, fontFaceRule, function, generateParseException, getGrammarUri, getNextToken, getParserVersion, getToken, hash, hexcolor, hslColor, importRule, mediaExpression, mediaList, mediaQuery, mediaRule, mediaRuleList, medium, number, operator, pageRule, pageSelector, pageSelectorList, parseSelectorsInternal, percentage, prio, pseudo, pseudoPage, ReInit, ReInit, rgbColor, selector, selectorList, simpleSelector, styleDeclaration, styleRule, styleSheet, styleSheetRuleList, styleSheetRuleSingle, term, trace_enabled, unaryOperator, unicodeRange, unknownAtRule, var
addEscapes, createLocator, createSkipWarning, doubleValue, functionInternal, getDocumentHandler, getErrorHandler, getInputSource, getLastNumPos, getParserMessage, handleCharset, handleEndDocument, handleEndFontFace, handleEndMedia, handleEndPage, handleEndSelector, handleIgnorableAtRule, handleImportStyle, handleProperty, handleStartDocument, handleStartFontFace, handleStartMedia, handleStartPage, handleStartSelector, hexColorInternal, hslColorInternal, intValue, normalizeAndValidatePagePseudoClass, parseMedia, parsePriority, parsePropertyValue, parseRule, parseSelectors, parseStyleDeclaration, parseStyleSheet, rgbColorInternal, setDocumentHandler, setErrorHandler, toCSSParseException, toCSSParseException, toCSSParseException, toCSSParseException, unescape
protected PooledCSS3Parser(org.htmlunit.WebClient.CSS3ParserPool pool)
pool
- the pool the parser should return to when it is closedprotected WebClient.PooledCSS3Parser markInUse(org.htmlunit.WebClient.CSS3ParserPool pool)
pool
- the pool the parser should return to when it is closedpublic void close()
close
in interface AutoCloseable
IllegalStateException
- in case the parser is closed several timesCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.