|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.css.parser.ExtendedParserWrapper
public class ExtendedParserWrapper
This class implements the ExtendedParser
interface by wrapping a standard org.w3c.css.sac.Parser.
| Field Summary | |
|---|---|
Parser |
parser
|
| Constructor Summary | |
|---|---|
ExtendedParserWrapper(Parser parser)
|
|
| Method Summary | |
|---|---|
String |
getParserVersion()
SAC: Implements org.w3c.css.sac.Parser#getParserVersion(). |
SACMediaList |
parseMedia(String mediaText)
Implements ExtendedParser.parseMedia(String). |
boolean |
parsePriority(InputSource source)
SAC: Implements org.w3c.css.sac.Parser#parsePriority(InputSource). |
LexicalUnit |
parsePropertyValue(InputSource source)
SAC: Implements org.w3c.css.sac.Parser#parsePropertyValue(InputSource). |
LexicalUnit |
parsePropertyValue(String source)
Parse a CSS property value. |
void |
parseRule(InputSource source)
SAC: Implements org.w3c.css.sac.Parser#parseRule(InputSource). |
SelectorList |
parseSelectors(InputSource source)
SAC: Implements org.w3c.css.sac.Parser#parseSelectors(InputSource). |
SelectorList |
parseSelectors(String source)
Parse a comma separated list of selectors. |
void |
parseStyleDeclaration(InputSource source)
SAC: Implements org.w3c.css.sac.Parser#parseStyleDeclaration(InputSource). |
void |
parseStyleSheet(InputSource source)
SAC: Implements org.w3c.css.sac.Parser#parseStyleSheet(InputSource). |
void |
setConditionFactory(ConditionFactory conditionFactory)
SAC: Implements org.w3c.css.sac.Parser#setConditionFactory(ConditionFactory). |
void |
setDocumentHandler(DocumentHandler handler)
SAC: Implements org.w3c.css.sac.Parser#setDocumentHandler(DocumentHandler). |
void |
setErrorHandler(ErrorHandler handler)
SAC: Implements org.w3c.css.sac.Parser#setErrorHandler(ErrorHandler). |
void |
setLocale(Locale locale)
SAC: Implements org.w3c.css.sac.Parser#setLocale(Locale). |
void |
setSelectorFactory(SelectorFactory selectorFactory)
SAC: Implements org.w3c.css.sac.Parser#setSelectorFactory(SelectorFactory). |
static ExtendedParser |
wrap(Parser p)
This converts a standard @link org.w3c.css.sac.Parser into an Extended Parser. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Parser parser
| Constructor Detail |
|---|
public ExtendedParserWrapper(Parser parser)
| Method Detail |
|---|
public static ExtendedParser wrap(Parser p)
p - Parser to wrap.
public String getParserVersion()
org.w3c.css.sac.Parser#getParserVersion().
public void setLocale(Locale locale)
throws CSSException
org.w3c.css.sac.Parser#setLocale(Locale).
CSSExceptionpublic void setDocumentHandler(DocumentHandler handler)
org.w3c.css.sac.Parser#setDocumentHandler(DocumentHandler).
public void setSelectorFactory(SelectorFactory selectorFactory)
org.w3c.css.sac.Parser#setSelectorFactory(SelectorFactory).
public void setConditionFactory(ConditionFactory conditionFactory)
org.w3c.css.sac.Parser#setConditionFactory(ConditionFactory).
public void setErrorHandler(ErrorHandler handler)
org.w3c.css.sac.Parser#setErrorHandler(ErrorHandler).
public void parseStyleSheet(InputSource source)
throws CSSException,
IOException
org.w3c.css.sac.Parser#parseStyleSheet(InputSource).
CSSException
IOException
public void parseStyleDeclaration(InputSource source)
throws CSSException,
IOException
org.w3c.css.sac.Parser#parseStyleDeclaration(InputSource).
parseStyleDeclaration in interface ExtendedParsersource - The declaration.
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(InputSource source)
throws CSSException,
IOException
org.w3c.css.sac.Parser#parseRule(InputSource).
parseRule in interface ExtendedParserCSSException - 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(InputSource source)
throws CSSException,
IOException
org.w3c.css.sac.Parser#parseSelectors(InputSource).
parseSelectors in interface ExtendedParserCSSException - 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
parseSelectors in interface ExtendedParserCSSException - 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(InputSource source)
throws CSSException,
IOException
org.w3c.css.sac.Parser#parsePropertyValue(InputSource).
parsePropertyValue in interface ExtendedParserCSSException - 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
parsePropertyValue in interface ExtendedParserCSSException - 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(InputSource source)
throws CSSException,
IOException
org.w3c.css.sac.Parser#parsePriority(InputSource).
parsePriority in interface ExtendedParserCSSException - 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
ExtendedParser.parseMedia(String).
parseMedia in interface ExtendedParserCSSException - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||