Java Doc for SerializerTrace.java in  » XML » xalan » org » apache » xml » serializer » 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 » xalan » org.apache.xml.serializer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.xml.serializer.SerializerTrace

All known Subclasses:   org.apache.xalan.transformer.TransformerImpl,
SerializerTrace
public interface SerializerTrace (Code)
This interface defines a set of integer constants that identify trace event types.


Field Summary
final public static  intEVENTTYPE_CDATA
     Event type generated after CDATA is generated.
final public static  intEVENTTYPE_CHARACTERS
     Event type generated for character data (CDATA and Ignorable Whitespace have their own events).
final public static  intEVENTTYPE_COMMENT
     Event type generated after a comment has been added.
final public static  intEVENTTYPE_ENDDOCUMENT
     Event type generated when a document ends.
final public static  intEVENTTYPE_ENDELEMENT
     Event type generated when an element ends, after it's children have been added.
final public static  intEVENTTYPE_ENTITYREF
     Event type generate after an entity ref is created.
final public static  intEVENTTYPE_IGNORABLEWHITESPACE
     Event type generated for ignorable whitespace (I'm not sure how much this is actually called.
final public static  intEVENTTYPE_OUTPUT_CHARACTERS
     Event type generated when characters are written to an output stream.
final public static  intEVENTTYPE_OUTPUT_PSEUDO_CHARACTERS
     Event type generated when characters might be written to an output stream, but these characters never are.
final public static  intEVENTTYPE_PI
     Event type generated for processing instructions.
final public static  intEVENTTYPE_STARTDOCUMENT
     Event type generated when a document begins.
final public static  intEVENTTYPE_STARTELEMENT
     Event type generated when an element begins (after the attributes have been processed but before the children have been added).


Method Summary
public  voidfireGenerateEvent(int eventType)
     Fire startDocument, endDocument events.
public  voidfireGenerateEvent(int eventType, String name, Attributes atts)
     Fire startElement, endElement events.
public  voidfireGenerateEvent(int eventType, char ch, int start, int length)
     Fire characters, cdata events.
public  voidfireGenerateEvent(int eventType, String name, String data)
     Fire processingInstruction events.
public  voidfireGenerateEvent(int eventType, String data)
     Fire comment and entity ref events.
public  booleanhasTraceListeners()
     Tell if trace listeners are present.

Field Detail
EVENTTYPE_CDATA
final public static int EVENTTYPE_CDATA(Code)
Event type generated after CDATA is generated.



EVENTTYPE_CHARACTERS
final public static int EVENTTYPE_CHARACTERS(Code)
Event type generated for character data (CDATA and Ignorable Whitespace have their own events).



EVENTTYPE_COMMENT
final public static int EVENTTYPE_COMMENT(Code)
Event type generated after a comment has been added.



EVENTTYPE_ENDDOCUMENT
final public static int EVENTTYPE_ENDDOCUMENT(Code)
Event type generated when a document ends.



EVENTTYPE_ENDELEMENT
final public static int EVENTTYPE_ENDELEMENT(Code)
Event type generated when an element ends, after it's children have been added.



EVENTTYPE_ENTITYREF
final public static int EVENTTYPE_ENTITYREF(Code)
Event type generate after an entity ref is created.



EVENTTYPE_IGNORABLEWHITESPACE
final public static int EVENTTYPE_IGNORABLEWHITESPACE(Code)
Event type generated for ignorable whitespace (I'm not sure how much this is actually called.



EVENTTYPE_OUTPUT_CHARACTERS
final public static int EVENTTYPE_OUTPUT_CHARACTERS(Code)
Event type generated when characters are written to an output stream.



EVENTTYPE_OUTPUT_PSEUDO_CHARACTERS
final public static int EVENTTYPE_OUTPUT_PSEUDO_CHARACTERS(Code)
Event type generated when characters might be written to an output stream, but these characters never are. They will ultimately be written out via EVENTTYPE_OUTPUT_CHARACTERS. This type is used as attributes are collected. Whenever the attributes change this event type is fired. At the very end however, when the attributes do not change anymore and are going to be ouput to the document the real characters will be written out using the EVENTTYPE_OUTPUT_CHARACTERS.



EVENTTYPE_PI
final public static int EVENTTYPE_PI(Code)
Event type generated for processing instructions.



EVENTTYPE_STARTDOCUMENT
final public static int EVENTTYPE_STARTDOCUMENT(Code)
Event type generated when a document begins.



EVENTTYPE_STARTELEMENT
final public static int EVENTTYPE_STARTELEMENT(Code)
Event type generated when an element begins (after the attributes have been processed but before the children have been added).





Method Detail
fireGenerateEvent
public void fireGenerateEvent(int eventType)(Code)
Fire startDocument, endDocument events.
Parameters:
  eventType - One of the EVENTTYPE_XXX constants.



fireGenerateEvent
public void fireGenerateEvent(int eventType, String name, Attributes atts)(Code)
Fire startElement, endElement events.
Parameters:
  eventType - One of the EVENTTYPE_XXX constants.
Parameters:
  name - The name of the element.
Parameters:
  atts - The SAX attribute list.



fireGenerateEvent
public void fireGenerateEvent(int eventType, char ch, int start, int length)(Code)
Fire characters, cdata events.
Parameters:
  eventType - One of the EVENTTYPE_XXX constants.
Parameters:
  ch - The char array from the SAX event.
Parameters:
  start - The start offset to be used in the char array.
Parameters:
  length - The end offset to be used in the chara array.



fireGenerateEvent
public void fireGenerateEvent(int eventType, String name, String data)(Code)
Fire processingInstruction events.
Parameters:
  eventType - One of the EVENTTYPE_XXX constants.
Parameters:
  name - The name of the processing instruction.
Parameters:
  data - The processing instruction data.



fireGenerateEvent
public void fireGenerateEvent(int eventType, String data)(Code)
Fire comment and entity ref events.
Parameters:
  eventType - One of the EVENTTYPE_XXX constants.
Parameters:
  data - The comment or entity ref data.



hasTraceListeners
public boolean hasTraceListeners()(Code)
Tell if trace listeners are present. True if there are trace listeners



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