Java Doc for ContentHandler.java in  » Science » javolution-5.2 » javolution » xml » sax » 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 » Science » javolution 5.2 » javolution.xml.sax 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javolution.xml.sax.ContentHandler

All known Subclasses:   javolution.xml.sax.DefaultHandler,
ContentHandler
public interface ContentHandler (Code)

Receives notification of the logical content of a document.

It is a more efficient version of org.xml.sax.ContentHandler with CharArray CharArray / CharSequence CharSequence instead of the String to avoid forcing dynamic object allocations.


author:
   David Megginson
author:
   Jean-Marie Dautelle
version:
   4.0, June 16, 2006




Method Summary
 voidcharacters(char ch, int start, int length)
     Receives notification of character data.
 voidendDocument()
     Receives notification of the end of a document.
 voidendElement(CharArray uri, CharArray localName, CharArray qName)
     Receives notification of the end of an element.
 voidendPrefixMapping(CharArray prefix)
     Ends the scope of a prefix-URI mapping.
 voidignorableWhitespace(char ch, int start, int length)
     Receives notification of ignorable whitespace in element content.
 voidprocessingInstruction(CharArray target, CharArray data)
     Receives notification of a processing instruction.
Parameters:
  target - the processing instruction target.
Parameters:
  data - the processing instruction data, or null ifnone was supplied.
 voidsetDocumentLocator(Locator locator)
     Receives an object for locating the origin of SAX document events.
 voidskippedEntity(CharArray name)
     Receives notification of a skipped entity.
Parameters:
  name - the name of the skipped entity.
 voidstartDocument()
     Receives notification of the beginning of a document.
 voidstartElement(CharArray uri, CharArray localName, CharArray qName, Attributes atts)
     Receives notification of the beginning of an element.
Parameters:
  uri - the namespace URI, or an empty character sequence if theelement has no Namespace URI or if namespace processing is notbeing performed.
Parameters:
  localName - the local name (without prefix), or an empty charactersequence if namespace processing is not being performed.
Parameters:
  qName - the qualified name (with prefix), or an empty charactersequence if qualified names are not available.
Parameters:
  atts - the attributes attached to the element.
 voidstartPrefixMapping(CharArray prefix, CharArray uri)
     Begins the scope of a prefix-URI Namespace mapping.



Method Detail
characters
void characters(char ch, int start, int length) throws SAXException(Code)
Receives notification of character data.
Parameters:
  ch - the characters from the XML document.
Parameters:
  start - the start position in the array.
Parameters:
  length - the number of characters to read from the array.
throws:
  org.xml.sax.SAXException - any SAX exception.



endDocument
void endDocument() throws SAXException(Code)
Receives notification of the end of a document.
throws:
  org.xml.sax.SAXException - any SAX exception.



endElement
void endElement(CharArray uri, CharArray localName, CharArray qName) throws SAXException(Code)
Receives notification of the end of an element.
Parameters:
  uri - the namespace URI, or an empty character sequence if theelement has no Namespace URI or if namespace processing is notbeing performed.
Parameters:
  localName - the local name (without prefix), or an empty charactersequence if namespace processing is not being performed.
Parameters:
  qName - the qualified XML 1.0 name (with prefix), or an emptycharacter sequence if qualified names are not available.
throws:
  org.xml.sax.SAXException - any SAX exception.



endPrefixMapping
void endPrefixMapping(CharArray prefix) throws SAXException(Code)
Ends the scope of a prefix-URI mapping.
Parameters:
  prefix - the prefix that was being mapping.
throws:
  org.xml.sax.SAXException - any SAX exception.



ignorableWhitespace
void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)
Receives notification of ignorable whitespace in element content.
Parameters:
  ch - the characters from the XML document.
Parameters:
  start - the start position in the array.
Parameters:
  length - the number of characters to read from the array.
throws:
  org.xml.sax.SAXException - any SAX exception.



processingInstruction
void processingInstruction(CharArray target, CharArray data) throws SAXException(Code)
Receives notification of a processing instruction.
Parameters:
  target - the processing instruction target.
Parameters:
  data - the processing instruction data, or null ifnone was supplied. The data does not include anywhitespace separating it from the target.
throws:
  org.xml.sax.SAXException - any SAX exception.



setDocumentLocator
void setDocumentLocator(Locator locator)(Code)
Receives an object for locating the origin of SAX document events.
Parameters:
  locator - the document locator.



skippedEntity
void skippedEntity(CharArray name) throws SAXException(Code)
Receives notification of a skipped entity.
Parameters:
  name - the name of the skipped entity. If it is aparameter entity, the name will begin with '%', and ifit is the external DTD subset, it will be the character sequence"[dtd]".
throws:
  org.xml.sax.SAXException - any SAX exception.



startDocument
void startDocument() throws SAXException(Code)
Receives notification of the beginning of a document.
throws:
  org.xml.sax.SAXException - any SAX exception.



startElement
void startElement(CharArray uri, CharArray localName, CharArray qName, Attributes atts) throws SAXException(Code)
Receives notification of the beginning of an element.
Parameters:
  uri - the namespace URI, or an empty character sequence if theelement has no Namespace URI or if namespace processing is notbeing performed.
Parameters:
  localName - the local name (without prefix), or an empty charactersequence if namespace processing is not being performed.
Parameters:
  qName - the qualified name (with prefix), or an empty charactersequence if qualified names are not available.
Parameters:
  atts - the attributes attached to the element. If there are noattributes, it shall be an empty Attributes object.
throws:
  org.xml.sax.SAXException - any SAX exception.



startPrefixMapping
void startPrefixMapping(CharArray prefix, CharArray uri) throws SAXException(Code)
Begins the scope of a prefix-URI Namespace mapping.
Parameters:
  prefix - the Namespace prefix being declared.
Parameters:
  uri - the namespace URI the prefix is mapped to.
throws:
  org.xml.sax.SAXException - any SAX exception.



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