|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
This class implements the Parser
interface plus a set
of custom methods.
メソッドの概要 | |
SACMediaList |
parseMedia(String mediaText)
Parse a CSS media value. |
boolean |
parsePriority(String source)
Parse a CSS priority value (e.g. "! |
LexicalUnit |
parsePropertyValue(String source)
Parse a CSS property value. |
void |
parseRule(String source)
Parse a CSS rule. |
SelectorList |
parseSelectors(String source)
Parse a comma separated list of selectors. |
void |
parseStyleDeclaration(String source)
Parse a CSS style declaration (without '{' and '}'). |
インタフェース org.w3c.css.sac.Parser から継承したメソッド |
getParserVersion, parsePriority, parsePropertyValue, parseRule, parseSelectors, parseStyleDeclaration, parseStyleSheet, parseStyleSheet, setConditionFactory, setDocumentHandler, setErrorHandler, setLocale, setSelectorFactory |
メソッドの詳細 |
public void parseStyleDeclaration(String source) throws CSSException, IOException
CSSException
- Any CSS exception, possibly wrapping another exception.
IOException
- An IO exception from the parser, possibly from a byte
stream or character stream supplied by the application.public void parseRule(String source) throws CSSException, IOException
CSSException
- Any CSS exception, possibly wrapping another exception.
IOException
- An IO exception from the parser, possibly from a byte
stream or character stream supplied by the application.public SelectorList parseSelectors(String source) throws CSSException, IOException
CSSException
- Any CSS exception, possibly wrapping another exception.
IOException
- An IO exception from the parser, possibly from a byte
stream or character stream supplied by the application.public LexicalUnit parsePropertyValue(String source) throws CSSException, IOException
CSSException
- Any CSS exception, possibly wrapping another exception.
IOException
- An IO exception from the parser, possibly from a byte
stream or character stream supplied by the application.public SACMediaList parseMedia(String mediaText) throws CSSException, IOException
CSSException
- Any CSS exception, possibly wrapping another exception.
IOException
- An IO exception from the parser, possibly from a byte
stream or character stream supplied by the application.public boolean parsePriority(String source) throws CSSException, IOException
CSSException
- Any CSS exception, possibly wrapping another exception.
IOException
- An IO exception from the parser, possibly from a byte
stream or character stream supplied by the application.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |