jp.cssj.sakae.sac.parser
インタフェース ExtendedParser

すべてのスーパーインタフェース:
Parser
既知の実装クラスの一覧:
ExtendedParserWrapper, Parser

public interface ExtendedParser
extends Parser

This class implements the Parserinterface plus a set of custom methods.

バージョン:
$Id: ExtendedParser.java,v 1.2 2007-05-06 04:24:08 miyabe Exp $
作成者:
Stephane Hillion

メソッドの概要
 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
 

メソッドの詳細

parseStyleDeclaration

public void parseStyleDeclaration(String source)
                           throws CSSException,
                                  IOException
Parse a CSS style declaration (without '{' and '}').

例外:
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.

parseRule

public void parseRule(String source)
               throws CSSException,
                      IOException
Parse a CSS rule.

例外:
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.

parseSelectors

public SelectorList parseSelectors(String source)
                            throws CSSException,
                                   IOException
Parse a comma separated list of selectors.

例外:
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.

parsePropertyValue

public LexicalUnit parsePropertyValue(String source)
                               throws CSSException,
                                      IOException
Parse a CSS property value.

例外:
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.

parseMedia

public SACMediaList parseMedia(String mediaText)
                        throws CSSException,
                               IOException
Parse a CSS media value.

例外:
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.

parsePriority

public boolean parsePriority(String source)
                      throws CSSException,
                             IOException
Parse a CSS priority value (e.g. "!important").

例外:
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.


(c)2009 GNN & Co.,Ltd.