All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.parser.CssXMLParser
java.lang.Object
|
+----w3c.xmlOnline.parser.Parser
|
+----org.w3c.css.parser.CssXMLParser
- public class CssXMLParser
- extends Parser
-
CssXMLParser(URL, XMLTokenizer, CssValidatorListener)
- Create a new CssXMLParser.
-
deletion(int)
- Print an error message for an unexpected token.
-
getLine()
- Get the current line.
-
getSourceFile()
- Get the source file
-
getURL()
- Get the URL.
-
insertion(int)
- Print an error message for a missing token.
-
parseStyle()
- Parse ths style sheet.
CssXMLParser
public CssXMLParser(URL name,
XMLTokenizer scanner,
CssValidatorListener valide)
- Create a new CssXMLParser.
- Parameters:
- name - name of the file that is being parsed
- scanner - the tokenizer used to read the file
- Returns:
- the new MyParser
getSourceFile
public final String getSourceFile()
- Get the source file
getURL
public final URL getURL()
- Get the URL.
getLine
public final int getLine()
- Get the current line. It doesn't work. I do this function for a futur
usage.
deletion
public void deletion(int token)
- Print an error message for an unexpected token. This is called
by the parser during error recovery.
- Overrides:
- deletion in class Parser
insertion
public void insertion(int token)
- Print an error message for a missing token. This is called
by the parser during error recovery.
- Overrides:
- insertion in class Parser
parseStyle
public void parseStyle() throws IOException
- Parse ths style sheet.
All Packages Class Hierarchy This Package Previous Next Index