Xalan-C++ API Documentation
Xalan-C++ API Documentation
The Xalan C++ XSLT Processor Version 1.9
GenerateEvent Class Reference
This is the class for events generated by the XSL processor after it generates a new node in the result tree.
More...
Collaboration diagram for GenerateEvent:
[legend]List of all members.Public Types
Public Member Functions
- GenerateEvent (EventType eventType, MemoryManagerType &theManager)
- Constructor for startDocument, endDocument events.
- GenerateEvent (EventType eventType, MemoryManagerType &theManager, const XalanDOMChar *name, AttributeListType *atts)
- Constructor for startElement, endElement events.
- GenerateEvent (EventType eventType, MemoryManagerType &theManager, const XalanDOMString &name, const AttributeListType *atts=0)
- Constructor for startElement, endElement events.
- GenerateEvent (EventType eventType, MemoryManagerType &theManager, const XalanDOMChar *ch, XalanDOMString::size_type start, XalanDOMString::size_type length)
- Constructor for characters, cdate events.
- GenerateEvent (EventType eventType, MemoryManagerType &theManager, const XalanDOMChar *name, const XalanDOMChar *data)
- Constructor for processingInstruction events.
- GenerateEvent (EventType eventType, MemoryManagerType &theManager, const XalanDOMChar *data)
- Constructor for comment and entity ref events.
Public Attributes
Detailed Description
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.
- See also:
- org.apache.xml.xpath4j.xml.FormatterListener
Member Enumeration Documentation
|
- Enumeration values:
-
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 & Destructor Documentation
|
Constructor for startDocument, endDocument events.
- Parameters:
-
eventType | one of the EVENTTYPE_XXX constants |
|
|
Constructor for startElement, endElement events.
- Parameters:
-
eventType | one of the EVENTTYPE_XXX constants |
name | name of the element |
atts | SAX attribute list |
|
|
Constructor for startElement, endElement events.
- Parameters:
-
eventType | one of the EVENTTYPE_XXX constants |
name | name of the element |
atts | SAX attribute list |
|
|
Constructor for characters, cdate events.
- Parameters:
-
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 |
|
GenerateEvent::GenerateEvent |
( |
EventType |
eventType, |
|
|
MemoryManagerType & |
theManager, |
|
|
const XalanDOMChar * |
name, |
|
|
const XalanDOMChar * |
data |
|
) |
|
|
|
Constructor for processingInstruction events.
- Parameters:
-
eventType | one of the EVENTTYPE_XXX constants |
name | name of the processing instruction |
data | processing instruction data |
|
|
Constructor for comment and entity ref events.
- Parameters:
-
processor | XSLT processor instance |
eventType | one of the EVENTTYPE_XXX constants |
data | comment or entity ref data |
|
Member Data Documentation
|
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:
Interpreting class diagrams
Doxygen and
GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.9
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.
|
|