Java Doc for ElementProcessorSerializer.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » serialization » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.serialization 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.serialization.ElementProcessorSerializer

All known Subclasses:   org.apache.cocoon.serialization.POIFSSerializer,
ElementProcessorSerializer
abstract public class ElementProcessorSerializer extends AbstractLogEnabled implements Serializer,Serviceable(Code)
An implementation of nearly all of the methods included in the org.apache.poi.serialization.Serializer interface This is an abstract class. Concrete extensions need to implement the following methods:
  • String getMimeType()
  • void endDocument()
  • ElementProcessorFactory getElementProcessorFactory()
  • void doPreInitialization(ElementProcessor processor)

author:
   Marc Johnson (marc_johnson27591@hotmail.com)
author:
   Nicola Ken Barozzi (nicolaken@apache.org)
version:
   $Id: ElementProcessorSerializer.java 523500 2007-03-28 23:06:39Z joerg $


Field Summary
protected  ServiceManagermanager
    

Constructor Summary
public  ElementProcessorSerializer()
    

Method Summary
protected  SAXExceptionSAXExceptionFactory(String message, Exception e)
    
protected  SAXExceptionSAXExceptionFactory(String message)
    
public  voidcharacters(char[] ch, int start, int length)
     Receive notification of character data.
public  voidcomment(char[] ch, int start, int length)
     Report an XML comment anywhere in the document.
abstract protected  voiddoPreInitialization(ElementProcessor processor)
    
public  voidendCDATA()
     Report the end of a CDATA section.
public  voidendDTD()
     Report the end of DTD declarations.
public  voidendElement(String namespaceURI, String localName, String qName)
     Receive notification of the end of an element.
public  voidendEntity(String name)
     Report the end of an entity.
public  voidendPrefixMapping(String prefix)
     End the scope of a prefix-URI mapping.
abstract protected  ElementProcessorFactorygetElementProcessorFactory()
    
protected  OutputStreamgetOutputStream()
    
public  voidignorableWhitespace(char[] ch, int start, int length)
     Receive notification of ignorable whitespace in element content.
public  voidprocessingInstruction(String target, String data)
     Receive notification of a processing instruction.
public  voidservice(ServiceManager manager)
    
public  voidsetDocumentLocator(Locator locator)
     Receive an object for locating the origin of SAX document events.
public  voidsetOutputStream(OutputStream out)
     Set the OutputStream where the requested resource should be serialized.
public  booleanshouldSetContentLength()
     Test if the component wants to set the content length.
public  voidskippedEntity(String name)
     Receive notification of a skipped entity.
public  voidstartCDATA()
     Report the start of a CDATA section.
public  voidstartDTD(String name, String publicId, String systemId)
     Report the start of DTD declarations, if any.
public  voidstartDocument()
     Receive notification of the beginning of a document.
public  voidstartElement(String namespaceURI, String localName, String qName, Attributes atts)
     Receive notification of the beginning of an element.
public  voidstartEntity(String name)
     Report the beginning of some internal and external XML entities.
public  voidstartPrefixMapping(String prefix, String uri)
     Begin the scope of a prefix-URI Namespace mapping.

Field Detail
manager
protected ServiceManager manager(Code)




Constructor Detail
ElementProcessorSerializer
public ElementProcessorSerializer()(Code)
Constructor




Method Detail
SAXExceptionFactory
protected SAXException SAXExceptionFactory(String message, Exception e)(Code)
Create a new SAXException
Parameters:
  message - the exception message
Parameters:
  e - the underlying exception (may be null) new SAXException



SAXExceptionFactory
protected SAXException SAXExceptionFactory(String message)(Code)
Create a SAXException
Parameters:
  message - the exception message new SAXException



characters
public void characters(char[] ch, int start, int length) throws SAXException(Code)
Receive notification of character data.
Parameters:
  ch - the character array
Parameters:
  start - the start index in ch
Parameters:
  length - the length of the valid part of ch
exception:
  SAXException - if anything goes wrong in processingthe character data



comment
public void comment(char[] ch, int start, int length)(Code)
Report an XML comment anywhere in the document. We don't really care.



doPreInitialization
abstract protected void doPreInitialization(ElementProcessor processor) throws SAXException(Code)
perform whatever pre-initialization seems good on the ElementProcessor
Parameters:
  processor - the processor to be initialized
exception:
  SAXException - on errors



endCDATA
public void endCDATA()(Code)
Report the end of a CDATA section. We don't really care.



endDTD
public void endDTD()(Code)
Report the end of DTD declarations. We don't really care.



endElement
public void endElement(String namespaceURI, String localName, String qName) throws SAXException(Code)
Receive notification of the end of an element.
exception:
  SAXException - on any errors processing the event.



endEntity
public void endEntity(String name)(Code)
Report the end of an entity. We don't really care.



endPrefixMapping
public void endPrefixMapping(String prefix)(Code)
End the scope of a prefix-URI mapping. We don't really care.



getElementProcessorFactory
abstract protected ElementProcessorFactory getElementProcessorFactory()(Code)
get the appropriate ElementProcessorFactory an ElementProcessorFactory suitable for the file type



getOutputStream
protected OutputStream getOutputStream()(Code)
the output stream



ignorableWhitespace
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException(Code)
Receive notification of ignorable whitespace in element content.
Parameters:
  ch - the character array
Parameters:
  start - the start index in ch
Parameters:
  length - the length of the valid part of ch
exception:
  SAXException - if anything goes wrong in processingthe character data



processingInstruction
public void processingInstruction(String target, String data)(Code)
Receive notification of a processing instruction. We don't really care.



service
public void service(ServiceManager manager)(Code)



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



setOutputStream
public void setOutputStream(OutputStream out)(Code)
Set the OutputStream where the requested resource should be serialized.
Parameters:
  out - the OutputStream to which the serialized data willbe written



shouldSetContentLength
public boolean shouldSetContentLength()(Code)
Test if the component wants to set the content length. false



skippedEntity
public void skippedEntity(String name)(Code)
Receive notification of a skipped entity. We don't really care.



startCDATA
public void startCDATA()(Code)
Report the start of a CDATA section. We don't really care.



startDTD
public void startDTD(String name, String publicId, String systemId)(Code)
Report the start of DTD declarations, if any. We don't really care.



startDocument
public void startDocument()(Code)
Receive notification of the beginning of a document.



startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException(Code)
Receive notification of the beginning of an element.
Parameters:
  namespaceURI - the namespace this element is in
Parameters:
  localName - the local name of the element
Parameters:
  qName - the qualified name of the element
Parameters:
  atts - the Attributes, if any, of the element
exception:
  SAXException - if we cannot create an ElementProcessorto handle the element



startEntity
public void startEntity(String name)(Code)
Report the beginning of some internal and external XML entities. We don't really care.



startPrefixMapping
public void startPrefixMapping(String prefix, String uri)(Code)
Begin the scope of a prefix-URI Namespace mapping. We don't really care.



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