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

Constructor Index

 o CssXMLParser(URL, XMLTokenizer, CssValidatorListener)
Create a new CssXMLParser.

Method Index

 o deletion(int)
Print an error message for an unexpected token.
 o getLine()
Get the current line.
 o getSourceFile()
Get the source file
 o getURL()
Get the URL.
 o insertion(int)
Print an error message for a missing token.
 o parseStyle()
Parse ths style sheet.

Constructors

 o 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

Methods

 o getSourceFile
 public final String getSourceFile()
Get the source file

 o getURL
 public final URL getURL()
Get the URL.

 o getLine
 public final int getLine()
Get the current line. It doesn't work. I do this function for a futur usage.

 o 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
 o 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
 o parseStyle
 public void parseStyle() throws IOException
Parse ths style sheet.


All Packages  Class Hierarchy  This Package  Previous  Next  Index