Java Doc for ReceivingContentHandler.java in  » XML » saxonb » net » sf » saxon » event » 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 » XML » saxonb » net.sf.saxon.event 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.saxon.event.ReceivingContentHandler

All known Subclasses:   net.sf.saxon.IdentityTransformerHandler,  net.sf.saxon.TemplatesHandlerImpl,  net.sf.saxon.TransformerHandlerImpl,
ReceivingContentHandler
public class ReceivingContentHandler implements ContentHandler,LexicalHandler,DTDHandler,SaxonLocator(Code)
ReceivingContentHandler is a glue class that provides a standard SAX ContentHandler interface to a Saxon Receiver. To achieve this it needs to map names supplied as strings to numeric name codes, for which purpose it needs access to a name pool. The class also performs the function of assembling adjacent text nodes.

The class was previously named ContentEmitter.


author:
   Michael H. Kay



Constructor Summary
public  ReceivingContentHandler()
    

Method Summary
public  voidcharacters(char ch, int start, int length)
    
public  voidcomment(char ch, int start, int length)
    
public  voidendCDATA()
    
public  voidendDTD()
     Register the end of the DTD.
public  voidendDocument()
    
public  voidendElement(String uri, String localname, String rawname)
    
public  voidendEntity(String name)
    
public  voidendPrefixMapping(String prefix)
    
public  intgetColumnNumber()
     Return the character position where the current document event ends.
public  ConfigurationgetConfiguration()
    
public  intgetLineNumber()
     Return the line number where the current document event ends.
public  intgetLineNumber(int locationId)
    
public  PipelineConfigurationgetPipelineConfiguration()
    
public  StringgetPublicId()
     Return the public identifier for the current document event.
public  StringgetSystemId()
     Return the public identifier for the current document event.
public  StringgetSystemId(int locationId)
    
public  voidignorableWhitespace(char ch, int start, int length)
    
public  booleanisIgnoringIgnorableWhitespace()
     Determine whether "ignorable whitespace" is ignored.
public  voidnotationDecl(String name, String publicId, String systemId)
    
public  voidprocessingInstruction(String name, String remainder)
    
public  voidsetDocumentLocator(Locator locator)
    
public  voidsetIgnoreIgnorableWhitespace(boolean ignore)
     Set whether "ignorable whitespace" should be ignored.
public  voidsetPipelineConfiguration(PipelineConfiguration pipe)
    
public  voidsetReceiver(Receiver e)
    
public  voidskippedEntity(String name)
    
public  voidstartCDATA()
    
public  voidstartDTD(String name, String publicId, String systemId)
     Register the start of the DTD.
public  voidstartDocument()
    
public  voidstartElement(String uri, String localname, String rawname, Attributes atts)
    
public  voidstartEntity(String name)
    
public  voidstartPrefixMapping(String prefix, String uri)
    
public  voidunparsedEntityDecl(String name, String publicId, String systemId, String notationName)
    


Constructor Detail
ReceivingContentHandler
public ReceivingContentHandler()(Code)
create a ReceivingContentHandler and initialise variables




Method Detail
characters
public void characters(char ch, int start, int length) throws SAXException(Code)
Callback interface for SAX: not for application use



comment
public void comment(char ch, int start, int length) throws SAXException(Code)
Callback interface for SAX (part of LexicalHandler interface): not for application use



endCDATA
public void endCDATA() throws SAXException(Code)



endDTD
public void endDTD() throws SAXException(Code)
Register the end of the DTD. Comments in the DTD are skipped because they are not part of the XPath data model



endDocument
public void endDocument() throws SAXException(Code)
Callback interface for SAX: not for application use



endElement
public void endElement(String uri, String localname, String rawname) throws SAXException(Code)
Callback interface for SAX: not for application use



endEntity
public void endEntity(String name) throws SAXException(Code)



endPrefixMapping
public void endPrefixMapping(String prefix) throws SAXException(Code)
Callback interface for SAX: not for application use



getColumnNumber
public int getColumnNumber()(Code)
Return the character position where the current document event ends. The column number, or -1 if none is available.



getConfiguration
public Configuration getConfiguration()(Code)



getLineNumber
public int getLineNumber()(Code)
Return the line number where the current document event ends. The line number, or -1 if none is available.



getLineNumber
public int getLineNumber(int locationId)(Code)



getPipelineConfiguration
public PipelineConfiguration getPipelineConfiguration()(Code)



getPublicId
public String getPublicId()(Code)
Return the public identifier for the current document event. A string containing the public identifier, ornull if none is available.



getSystemId
public String getSystemId()(Code)
Return the public identifier for the current document event. A string containing the system identifier, ornull if none is available.



getSystemId
public String getSystemId(int locationId)(Code)



ignorableWhitespace
public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)
Callback interface for SAX: not for application use



isIgnoringIgnorableWhitespace
public boolean isIgnoringIgnorableWhitespace()(Code)
Determine whether "ignorable whitespace" is ignored. This returns the value that was set using ReceivingContentHandler.setIgnoreIgnorableWhitespace if that has been called; otherwise the value from the configuration.



notationDecl
public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)



processingInstruction
public void processingInstruction(String name, String remainder) throws SAXException(Code)
Callback interface for SAX: not for application use



setDocumentLocator
public void setDocumentLocator(Locator locator)(Code)
Callback interface for SAX: not for application use



setIgnoreIgnorableWhitespace
public void setIgnoreIgnorableWhitespace(boolean ignore)(Code)
Set whether "ignorable whitespace" should be ignored. This method is effective only if called after setPipelineConfiguration, since the default value is taken from the configuration.



setPipelineConfiguration
public void setPipelineConfiguration(PipelineConfiguration pipe)(Code)



setReceiver
public void setReceiver(Receiver e)(Code)



skippedEntity
public void skippedEntity(String name) throws SAXException(Code)



startCDATA
public void startCDATA() throws SAXException(Code)



startDTD
public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)
Register the start of the DTD. Comments in the DTD are skipped because they are not part of the XPath data model



startDocument
public void startDocument() throws SAXException(Code)
Callback interface for SAX: not for application use



startElement
public void startElement(String uri, String localname, String rawname, Attributes atts) throws SAXException(Code)
Callback interface for SAX: not for application use



startEntity
public void startEntity(String name) throws SAXException(Code)



startPrefixMapping
public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)
Callback interface for SAX: not for application use



unparsedEntityDecl
public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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