This is the class for events generated by the XSL processor after it generates a new node in the result tree. More...
#include <GenerateEvent.hpp>
Collaboration diagram for GenerateEvent:
This is the class for events generated by the XSL processor after it generates a new node in the result tree.
It responds to, and so is modeled from, the SAX events that are sent to the FormatterListener classes.
|
EVENTTYPE_STARTDOCUMENT | Event type generated when a document begins. |
EVENTTYPE_ENDDOCUMENT | Event type generated when a document ends. |
EVENTTYPE_STARTELEMENT | Event type generated when an element begins (after the attributes have been processed but before the children have been added). |
EVENTTYPE_ENDELEMENT | Event type generated when an element ends, after it's children have been added. |
EVENTTYPE_CHARACTERS | Event type generated for character data (CDATA and Ignorable Whitespace have their own events). |
EVENTTYPE_IGNORABLEWHITESPACE | Event type generated for ignorable whitespace (I'm not sure how much this is actually called. |
EVENTTYPE_PI | Event type generated for processing instructions. |
EVENTTYPE_COMMENT | Event type generated after a comment has been added. |
EVENTTYPE_ENTITYREF | Event type generate after an entity ref is created. |
EVENTTYPE_CDATA | Event type generated after CDATA is generated. |
|
Constructor for startDocument, endDocument events.
eventType | one of the EVENTTYPE_XXX constants |
|
Constructor for startElement, endElement events.
eventType | one of the EVENTTYPE_XXX constants |
name | name of the element |
atts | SAX attribute list |
|
Constructor for startElement, endElement events.
eventType | one of the EVENTTYPE_XXX constants |
name | name of the element |
atts | SAX attribute list |
|
Constructor for characters, cdate events.
eventType | one of the EVENTTYPE_XXX constants |
ch | char array from the SAX event |
start | start offset to be used in the char array |
length | end offset to be used in the chara array |
|
Constructor for processingInstruction events.
eventType | one of the EVENTTYPE_XXX constants |
name | name of the processing instruction |
data | processing instruction data |
|
Constructor for comment and entity ref events.
processor | XSLT processor instance |
eventType | one of the EVENTTYPE_XXX constants |
data | comment or entity ref data |
|
Character data from a character or cdata event.
|
The string data in the element (comments and PIs).
|
The type of SAX event that was generated, as enumerated in the EVENTTYPE_XXX constants above.
|
The length of the current data in m_characters.
|
The name of the element or PI.
|
The current attribute list.
|
The start position of the current data in m_characters.
The documentation for this class was generated from the following file:
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.4 |
|