|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.steadystate.css.parser.SACParserCSSmobileOKBasic1
public class SACParserCSSmobileOKBasic1
| Field Summary | |
|---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
SACParserCSSmobileOKBasic1TokenManager |
token_source
Generated Token Manager. |
| Fields inherited from interface com.steadystate.css.parser.SACParserCSSmobileOKBasic1Constants |
|---|
ACTIVE_PSCLASS, ASTERISK, ATKEYWORD, CDC, CDO, COLON, COMMA, COMMENT, D, DEFAULT, DOT, EMS, EOF, EQUALS, ESCAPE, EXS, FIRST_LETTER, FIRST_LINE, GT, H, HASH, HNUM, IDENT, IMPORT_SYM, IMPORTANT_SYM, LBRACE, LENGTH_CM, LENGTH_IN, LENGTH_MM, LENGTH_PC, LENGTH_PT, LENGTH_PX, LINK_PSCLASS, LSQUARE, MEDIA_SYM, MINUS, NAME, NL, NMCHAR, NMSTART, NONASCII, NUM, NUMBER, PERCENTAGE, PLUS, Q11, Q12, Q13, Q14, Q15, Q16, RANGE, RBRACE, RGB, RROUND, RSQUARE, S, SEMICOLON, SLASH, STRING, STRING1, STRING2, tokenImage, UNICODE, UNICODERANGE, UNKNOWN, URL, VISITED_PSCLASS |
| Constructor Summary | |
|---|---|
SACParserCSSmobileOKBasic1()
|
|
SACParserCSSmobileOKBasic1(CharStream stream)
Constructor with user supplied CharStream. |
|
SACParserCSSmobileOKBasic1(SACParserCSSmobileOKBasic1TokenManager tm)
Constructor with generated Token Manager. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.css.sac.Parser |
|---|
parsePriority, parsePropertyValue, parseRule, parseSelectors, parseStyleDeclaration, parseStyleSheet, parseStyleSheet, setConditionFactory, setDocumentHandler, setErrorHandler, setLocale, setSelectorFactory |
| Field Detail |
|---|
public SACParserCSSmobileOKBasic1TokenManager token_source
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public SACParserCSSmobileOKBasic1()
public SACParserCSSmobileOKBasic1(CharStream stream)
public SACParserCSSmobileOKBasic1(SACParserCSSmobileOKBasic1TokenManager tm)
| Method Detail |
|---|
public String getParserVersion()
getParserVersion in interface Parserprotected String getGrammarUri()
protected Token getToken()
public final void styleSheet()
throws ParseException
ParseException
public final void styleSheetRuleList()
throws ParseException
ParseException
public final void styleSheetRuleSingle()
throws ParseException
ParseException
public final void unknownRule()
throws ParseException
ParseException
public final void importRule()
throws ParseException
ParseException
public final void importRuleIgnored()
throws ParseException
ParseException
public final void mediaRule()
throws ParseException
ParseException
public final void mediaList(SACMediaListImpl ml)
throws ParseException
ParseException
public final void mediaRuleList()
throws ParseException
ParseException
public final void mediaRuleSingle()
throws ParseException
ParseException
public final String medium()
throws ParseException
ParseException
public final LexicalUnit operator(LexicalUnit prev)
throws ParseException
ParseException
public final char unaryOperator()
throws ParseException
ParseException
public final String property()
throws ParseException
ParseException
public final void styleRule()
throws ParseException
ParseException
public final SelectorList selectorList()
throws ParseException
ParseException
public final Selector selector()
throws ParseException
ParseException
public final Selector simpleSelector(Selector sel,
char comb)
throws ParseException
ParseException
public final Condition _class(Condition pred)
throws ParseException
ParseException
public final SimpleSelector elementName()
throws ParseException
ParseException
public final Condition pseudoClass(Condition pred)
throws ParseException
ParseException
public final Condition pseudoElement(Condition pred)
throws ParseException
ParseException
public final Condition hash(Condition pred)
throws ParseException
ParseException
public final void styleDeclaration()
throws ParseException
ParseException
public final void declaration()
throws ParseException
ParseException
public final boolean prio()
throws ParseException
ParseException
public final LexicalUnit expr()
throws ParseException
ParseException
public final LexicalUnit term(LexicalUnit prev)
throws ParseException
ParseException
public final LexicalUnit rgb(LexicalUnit prev)
throws ParseException
ParseException
public final LexicalUnit hexcolor(LexicalUnit prev)
throws ParseException
ParseExceptionpublic void ReInit(CharStream stream)
public void ReInit(SACParserCSSmobileOKBasic1TokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
protected DocumentHandlerExt getDocumentHandler()
public void setDocumentHandler(DocumentHandler handler)
setDocumentHandler in interface Parserprotected ErrorHandler getErrorHandler()
public void setErrorHandler(ErrorHandler eh)
setErrorHandler in interface Parserprotected InputSource getInputSource()
public void setLocale(Locale locale)
setLocale in interface Parserprotected Locale getLocale()
protected SelectorFactory getSelectorFactory()
public void setSelectorFactory(SelectorFactory selectorFactory)
setSelectorFactory in interface Parserprotected ConditionFactory getConditionFactory()
public void setConditionFactory(ConditionFactory conditionFactory)
setConditionFactory in interface Parserprotected ResourceBundle getSACParserMessages()
public Locator getLocator()
protected String add_escapes(String str)
protected CSSParseException toCSSParseException(String key,
ParseException e)
protected CSSParseException toCSSParseException(TokenMgrError e)
protected CSSParseException createSkipWarning(String key,
CSSParseException e)
public void parseStyleSheet(InputSource source)
throws IOException
parseStyleSheet in interface ParserIOException
public void parseStyleSheet(String uri)
throws IOException
parseStyleSheet in interface ParserIOException
public void parseStyleDeclaration(InputSource source)
throws IOException
parseStyleDeclaration in interface ParserIOException
public void parseRule(InputSource source)
throws IOException
parseRule in interface ParserIOException
public SelectorList parseSelectors(InputSource source)
throws IOException
parseSelectors in interface ParserIOException
public LexicalUnit parsePropertyValue(InputSource source)
throws IOException
parsePropertyValue in interface ParserIOException
public boolean parsePriority(InputSource source)
throws IOException
parsePriority in interface ParserIOException
public SACMediaList parseMedia(InputSource source)
throws IOException
IOExceptionprotected void handleStartDocument()
protected void handleEndDocument()
protected void handleIgnorableAtRule(String s)
protected void handleCharset(String characterEncoding)
protected void handleImportStyle(String uri,
SACMediaList media,
String defaultNamespaceURI)
protected void handleStartMedia(SACMediaList media)
protected void handleMedium(String medium)
protected void handleEndMedia(SACMediaList media)
protected void handleStartPage(String name,
String pseudo_page)
protected void handleEndPage(String name,
String pseudo_page)
protected void handleStartFontFace()
protected void handleEndFontFace()
protected void handleSelector(Selector selector)
protected void handleStartSelector(SelectorList selectors)
protected void handleEndSelector(SelectorList selectors)
protected void handleProperty(String name,
LexicalUnit value,
boolean important)
protected LexicalUnit functionInternal(LexicalUnit prev,
Token t,
LexicalUnit params)
protected LexicalUnit hexcolorInternal(LexicalUnit prev,
Token t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||