Java Doc for DocumentHandler.java in  » IDE-Netbeans » visualweb.api.designer » org » w3c » css » sac » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » visualweb.api.designer » org.w3c.css.sac 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.w3c.css.sac.DocumentHandler

All known Subclasses:   org.apache.batik.css.parser.DefaultDocumentHandler,
DocumentHandler
public interface DocumentHandler (Code)
This is the main interface that most CSS applications implement: if the application needs to be informed of basic parsing events, it implements this interface and registers an instance with the CSS parser using the setCSSHandler method.
version:
   $Revision$
author:
   Philippe Le Hegaret




Method Summary
public  voidcomment(String text)
     Receive notification of a comment. If the comment appears in a declaration (e.g.
public  voidendDocument(InputSource source)
     Receive notification of the end of a document.
public  voidendFontFace()
     Receive notification of the end of a font face statement.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.
public  voidendMedia(SACMediaList media)
     Receive notification of the end of a media statement.
Parameters:
  media - The intended destination media for style information.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.
public  voidendPage(String name, String pseudo_page)
     Receive notification of the end of a media statement.
Parameters:
  media - The intended destination medium for style information.
Parameters:
  pseudo_page - the pseudo page (if any, null otherwise)
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.
public  voidendSelector(SelectorList selectors)
     Receive notification of the end of a rule statement.
public  voidignorableAtRule(String atRule)
     Receive notification of an unknown rule t-rule not supported by this parser. at-rule The complete ignored at-rule.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.
public  voidimportStyle(String uri, SACMediaList media, String defaultNamespaceURI)
     Receive notification of a import statement in the style sheet.
public  voidnamespaceDeclaration(String prefix, String uri)
     Receive notification of an unknown rule t-rule not supported by this parser.
Parameters:
  prefix - null if this is the default namespace
Parameters:
  uri - The URI for this namespace.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.
public  voidproperty(String name, LexicalUnit value, boolean important)
     Receive notification of a declaration.
Parameters:
  name - the name of the property.
Parameters:
  value - the value of the property.
public  voidstartDocument(InputSource source)
     Receive notification of the beginning of a style sheet. The CSS parser will invoke this method only once, before any other methods in this interface.
Parameters:
  uri - The URI of the style sheet.
public  voidstartFontFace()
     Receive notification of the beginning of a font face statement. The Parser will invoke this method at the beginning of every font face statement in the style sheet.
public  voidstartMedia(SACMediaList media)
     Receive notification of the beginning of a media statement. The Parser will invoke this method at the beginning of every media statement in the style sheet.
public  voidstartPage(String name, String pseudo_page)
     Receive notification of the beginning of a page statement. The Parser will invoke this method at the beginning of every page statement in the style sheet.
public  voidstartSelector(SelectorList selectors)
     Receive notification of the beginning of a rule statement.



Method Detail
comment
public void comment(String text) throws CSSException(Code)
Receive notification of a comment. If the comment appears in a declaration (e.g. color: /* comment * / blue;), the parser notifies the comment before the declaration.
Parameters:
  text - The comment.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



endDocument
public void endDocument(InputSource source) throws CSSException(Code)
Receive notification of the end of a document. The CSS parser will invoke this method only once, and it will be the last method invoked during the parse. The parser shall not invoke this method until it has either abandoned parsing (because of an unrecoverable error) or reached the end of input.
Parameters:
  uri - The URI of the style sheet.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



endFontFace
public void endFontFace() throws CSSException(Code)
Receive notification of the end of a font face statement.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



endMedia
public void endMedia(SACMediaList media) throws CSSException(Code)
Receive notification of the end of a media statement.
Parameters:
  media - The intended destination media for style information.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



endPage
public void endPage(String name, String pseudo_page) throws CSSException(Code)
Receive notification of the end of a media statement.
Parameters:
  media - The intended destination medium for style information.
Parameters:
  pseudo_page - the pseudo page (if any, null otherwise)
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



endSelector
public void endSelector(SelectorList selectors) throws CSSException(Code)
Receive notification of the end of a rule statement.
Parameters:
  selectors - All intended selectors for all declarations.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



ignorableAtRule
public void ignorableAtRule(String atRule) throws CSSException(Code)
Receive notification of an unknown rule t-rule not supported by this parser. at-rule The complete ignored at-rule.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



importStyle
public void importStyle(String uri, SACMediaList media, String defaultNamespaceURI) throws CSSException(Code)
Receive notification of a import statement in the style sheet.
Parameters:
  uri - The URI of the imported style sheet.
Parameters:
  media - The intended destination media for style information.
Parameters:
  defaultNamepaceURI - The default namespace URI for the importedstyle sheet.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



namespaceDeclaration
public void namespaceDeclaration(String prefix, String uri) throws CSSException(Code)
Receive notification of an unknown rule t-rule not supported by this parser.
Parameters:
  prefix - null if this is the default namespace
Parameters:
  uri - The URI for this namespace.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



property
public void property(String name, LexicalUnit value, boolean important) throws CSSException(Code)
Receive notification of a declaration.
Parameters:
  name - the name of the property.
Parameters:
  value - the value of the property. All whitespace are stripped.
Parameters:
  important - is this property important ?
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



startDocument
public void startDocument(InputSource source) throws CSSException(Code)
Receive notification of the beginning of a style sheet. The CSS parser will invoke this method only once, before any other methods in this interface.
Parameters:
  uri - The URI of the style sheet. @@TODO can be NULL ! (inline style sheet)
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



startFontFace
public void startFontFace() throws CSSException(Code)
Receive notification of the beginning of a font face statement. The Parser will invoke this method at the beginning of every font face statement in the style sheet. there will be a corresponding endFontFace() event for every startFontFace() event.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



startMedia
public void startMedia(SACMediaList media) throws CSSException(Code)
Receive notification of the beginning of a media statement. The Parser will invoke this method at the beginning of every media statement in the style sheet. there will be a corresponding endMedia() event for every startElement() event.
Parameters:
  media - The intended destination media for style information.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



startPage
public void startPage(String name, String pseudo_page) throws CSSException(Code)
Receive notification of the beginning of a page statement. The Parser will invoke this method at the beginning of every page statement in the style sheet. there will be a corresponding endPage() event for every startPage() event.
Parameters:
  name - the name of the page (if any, null otherwise)
Parameters:
  pseudo_page - the pseudo page (if any, null otherwise)
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



startSelector
public void startSelector(SelectorList selectors) throws CSSException(Code)
Receive notification of the beginning of a rule statement.
Parameters:
  selectors - All intended selectors for all declarations.
exception:
  CSSException - Any CSS exception, possibly wrapping anotherexception.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.