All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.css.css.StyleSheetCom
java.lang.Object
|
+----org.w3c.css.css.StyleSheetCom
- public class StyleSheetCom
- extends Object
- implements HtmlParserListener
-
StyleSheetCom()
-
-
main(String[])
-
-
notifyActivity(int, long)
-
-
notifyConnection(URLConnection)
-
-
notifyCreateRoot(URL, HtmlTag)
- Notifies root creation.
-
notifyEnd(HtmlTag)
- Notifies successful termination.
-
notifyFatalError(HtmlTag, Exception, String)
- Notifies a fatal error.
StyleSheetCom
public StyleSheetCom()
main
public static void main(String args[]) throws IOException, MalformedURLException
notifyCreateRoot
public void notifyCreateRoot(URL url,
HtmlTag root)
- Notifies root creation.
Sent when the parser builds the root of the HTML tree.
- Parameters:
- url - the URL being parsed.
- root - the new root Tag for this parser.
notifyActivity
public void notifyActivity(int lines,
long bytes)
notifyConnection
public void notifyConnection(URLConnection cnx)
notifyEnd
public void notifyEnd(HtmlTag root)
- Notifies successful termination.
- Parameters:
- root - the root of the current Tree.
notifyFatalError
public void notifyFatalError(HtmlTag root,
Exception x,
String s)
- Notifies a fatal error.
This notification is sent when the parser need to stop during or before
parsing, due to an unexpected exception.
- Parameters:
- root - the root of the current Tree, if any.
- x - the exception that cause the Parser stop
- msg - an error message information
All Packages Class Hierarchy This Package Previous Next Index