Java Doc for XMLDocumentHandler.java in  » Web-Server » Rimfaxe-Web-Server » org » apache » xerces » framework » 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 » Web Server » Rimfaxe Web Server » org.apache.xerces.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.xerces.framework.XMLDocumentHandler

All known Subclasses:   org.apache.xerces.parsers.DOMParser,  org.apache.xerces.framework.XMLParser,  org.apache.xerces.parsers.SAXParser,
XMLDocumentHandler
public interface XMLDocumentHandler (Code)
XMLValidator defines the interface that XMLDocumentScanner and XML EntityHandler have with an object that serves as a pluggable validator. This abstraction allows validators for XML grammar languages to be plugged in and queried for validity checks as the scanner processes a document.

The document scanner and entity handler need to ask the validator object for this information because the validator object is responsible for reading the grammar specification file (which contains markup declarations and entity declarations)
version:
   $Id: XMLDocumentHandler.java,v 1.4 2000/05/26 18:59:02 andyc Exp $


Inner Class :public interface DTDHandler



Method Summary
public  voidcharacters(int data)
     callback for characters (string pool form).
public  voidcharacters(char ch, int start, int length)
     callback for characters.
public  voidcomment(int comment)
     callback for comment.
public  voidendCDATA()
     callback for end of CDATA section.
public  voidendDocument()
     callback for the end of document.
public  voidendElement(QName element)
     callback for end of element.
public  voidendEntityReference(int entityName, int entityType, int entityContext)
     callback for end of entity reference.
public  voidendNamespaceDeclScope(int prefix)
     callback for the end a namespace declaration scope.
public  voidignorableWhitespace(int data)
     callback for ignorable whitespace.
public  voidignorableWhitespace(char ch, int start, int length)
     callback for ignorable whitespace.
public  voidprocessingInstruction(int target, int data)
     callback for processing instruction.
public  voidstartCDATA()
     callback for start of CDATA section.
public  voidstartDocument()
     Callback for start of document If the there is no version info, encoding info, or standalone info, the corresponding argument will be set to -1.
public  voidstartElement(QName element, XMLAttrList attrList, int attrListHandle)
     callback for the start of element.
Parameters:
  elementType - element handle for the element being scanned
Parameters:
  attrList - attrList containing the attributes of the element
Parameters:
  attrListHandle - handle into attrList.
public  voidstartEntityReference(int entityName, int entityType, int entityContext)
     callback for start of entity reference.
public  voidstartNamespaceDeclScope(int prefix, int uri)
     callback for the start of a namespace declaration scope.
public  voidtextDecl(int version, int encoding)
     Signal the Text declaration of an external entity.
public  voidxmlDecl(int version, int encoding, int standalone)
    



Method Detail
characters
public void characters(int data) throws Exception(Code)
callback for characters (string pool form).
Parameters:
  data - string pool index of the characters that were scanned
exception:
  java.lang.Exception -



characters
public void characters(char ch, int start, int length) throws Exception(Code)
callback for characters.
Parameters:
  ch - character array containing the characters that were scanned
Parameters:
  start - offset in ch where scanned characters begin
Parameters:
  length - length of scanned characters in ch
exception:
  java.lang.Exception -



comment
public void comment(int comment) throws Exception(Code)
callback for comment.
Parameters:
  comment - string pool index of the comment text
exception:
  java.lang.Exception -



endCDATA
public void endCDATA() throws Exception(Code)
callback for end of CDATA section. this callback marks the end of a CDATA section
exception:
  java.lang.Exception -



endDocument
public void endDocument() throws Exception(Code)
callback for the end of document.
exception:
  java.lang.Exception -



endElement
public void endElement(QName element) throws Exception(Code)
callback for end of element.
Parameters:
  elementType - element handle for the element being scanned
exception:
  java.lang.Exception -



endEntityReference
public void endEntityReference(int entityName, int entityType, int entityContext) throws Exception(Code)
callback for end of entity reference.
Parameters:
  entityName - string pool index of the entity anem
Parameters:
  entityType - the XMLEntityHandler.ENTITYTYPE_* type
See Also:   org.apache.xerces.readers.XMLEntityHandler
Parameters:
  entityContext - the XMLEntityHandler.ENTITYREF_* type for wherethe entity reference appears
See Also:   org.apache.xerces.readers.XMLEntityHandler
exception:
  java.lang.Exception -



endNamespaceDeclScope
public void endNamespaceDeclScope(int prefix) throws Exception(Code)
callback for the end a namespace declaration scope.
Parameters:
  prefix - string pool index of the namespace prefix being declared
exception:
  java.lang.Exception -



ignorableWhitespace
public void ignorableWhitespace(int data) throws Exception(Code)
callback for ignorable whitespace.
Parameters:
  data - string pool index of ignorable whitespace
exception:
  java.lang.Exception -



ignorableWhitespace
public void ignorableWhitespace(char ch, int start, int length) throws Exception(Code)
callback for ignorable whitespace.
Parameters:
  ch - character array containing the whitespace that was scanned
Parameters:
  start - offset in ch where scanned whitespace begins
Parameters:
  length - length of scanned whitespace in ch
exception:
  java.lang.Exception -



processingInstruction
public void processingInstruction(int target, int data) throws Exception(Code)
callback for processing instruction.
Parameters:
  target - string pool index of the PI target
Parameters:
  data - string pool index of the PI data
exception:
  java.lang.Exception -



startCDATA
public void startCDATA() throws Exception(Code)
callback for start of CDATA section. this callback marks the start of a CDATA section
exception:
  java.lang.Exception -



startDocument
public void startDocument() throws Exception(Code)
Callback for start of document If the there is no version info, encoding info, or standalone info, the corresponding argument will be set to -1.
exception:
  java.lang.Exception -



startElement
public void startElement(QName element, XMLAttrList attrList, int attrListHandle) throws Exception(Code)
callback for the start of element.
Parameters:
  elementType - element handle for the element being scanned
Parameters:
  attrList - attrList containing the attributes of the element
Parameters:
  attrListHandle - handle into attrList. Allows attributes to be retreived.
exception:
  java.lang.Exception -



startEntityReference
public void startEntityReference(int entityName, int entityType, int entityContext) throws Exception(Code)
callback for start of entity reference.
Parameters:
  entityName - string pool index of the entity name
Parameters:
  entityType - the XMLEntityHandler.ENTITYTYPE_* type
See Also:   org.apache.xerces.readers.XMLEntityHandler
Parameters:
  entityContext - the XMLEntityHandler.ENTITYREF_* type for wherethe entity reference appears
See Also:   org.apache.xerces.readers.XMLEntityHandler
exception:
  java.lang.Exception -



startNamespaceDeclScope
public void startNamespaceDeclScope(int prefix, int uri) throws Exception(Code)
callback for the start of a namespace declaration scope.
Parameters:
  prefix - string pool index of the namespace prefix being declared
Parameters:
  uri - string pool index of the namespace uri begin bound java.lang.Exception



textDecl
public void textDecl(int version, int encoding) throws Exception(Code)
Signal the Text declaration of an external entity.
exception:
  java.lang.Exception -



xmlDecl
public void xmlDecl(int version, int encoding, int standalone) throws Exception(Code)
Signal the XML declaration of a document
Parameters:
  version - the handle in the string pool for the version number
Parameters:
  encoding - the handle in the string pool for the encoding
Parameters:
  standalong - the handle in the string pool for the standalone value
exception:
  java.lang.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.