Xalan-C++ API Reference
1.12.0
|
This is the class for events generated by the XSL processor after it generates a new node in the result tree. More...
#include <xalanc/XSLT/GenerateEvent.hpp>
Public Types | |
enum | EventType { EVENTTYPE_STARTDOCUMENT = 1, EVENTTYPE_ENDDOCUMENT = 2, EVENTTYPE_STARTELEMENT = 3, EVENTTYPE_ENDELEMENT = 4, EVENTTYPE_CHARACTERS = 5, EVENTTYPE_IGNORABLEWHITESPACE = 6, EVENTTYPE_PI = 7, EVENTTYPE_COMMENT = 8, EVENTTYPE_ENTITYREF = 9, EVENTTYPE_CDATA = 10 } |
Public Member Functions | |
GenerateEvent (EventType eventType, MemoryManager &theManager) | |
Constructor for startDocument, endDocument events. More... | |
GenerateEvent (EventType eventType, MemoryManager &theManager, const XalanDOMChar *name, AttributeListType *atts) | |
Constructor for startElement, endElement events. More... | |
GenerateEvent (EventType eventType, MemoryManager &theManager, const XalanDOMString &name, const AttributeListType *atts=0) | |
Constructor for startElement, endElement events. More... | |
GenerateEvent (EventType eventType, MemoryManager &theManager, const XalanDOMChar *ch, XalanDOMString::size_type start, XalanDOMString::size_type length) | |
Constructor for characters, cdate events. More... | |
GenerateEvent (EventType eventType, MemoryManager &theManager, const XalanDOMChar *name, const XalanDOMChar *data) | |
Constructor for processingInstruction events. More... | |
GenerateEvent (EventType eventType, MemoryManager &theManager, const XalanDOMChar *data) | |
Constructor for comment and entity ref events. More... | |
Public Attributes | |
EventType | m_eventType |
The type of SAX event that was generated, as enumerated in the EVENTTYPE_XXX constants above. More... | |
XalanDOMString | m_characters |
Character data from a character or cdata event. More... | |
XalanDOMString::size_type | m_start |
The start position of the current data in m_characters. More... | |
XalanDOMString::size_type | m_length |
The length of the current data in m_characters. More... | |
XalanDOMString | m_name |
The name of the element or PI. More... | |
XalanDOMString | m_data |
The string data in the element (comments and PIs). More... | |
const AttributeListType * | m_pAtts |
The current attribute list. More... | |
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.
Definition at line 55 of file GenerateEvent.hpp.
Definition at line 59 of file GenerateEvent.hpp.
xalanc::GenerateEvent::GenerateEvent | ( | EventType | eventType, |
MemoryManager & | theManager | ||
) |
Constructor for startDocument, endDocument events.
eventType | one of the EVENTTYPE_XXX constants |
xalanc::GenerateEvent::GenerateEvent | ( | EventType | eventType, |
MemoryManager & | theManager, | ||
const XalanDOMChar * | name, | ||
AttributeListType * | atts | ||
) |
Constructor for startElement, endElement events.
eventType | one of the EVENTTYPE_XXX constants |
name | name of the element |
atts | SAX attribute list |
xalanc::GenerateEvent::GenerateEvent | ( | EventType | eventType, |
MemoryManager & | theManager, | ||
const XalanDOMString & | name, | ||
const AttributeListType * | atts = 0 |
||
) |
Constructor for startElement, endElement events.
eventType | one of the EVENTTYPE_XXX constants |
name | name of the element |
atts | SAX attribute list |
xalanc::GenerateEvent::GenerateEvent | ( | EventType | eventType, |
MemoryManager & | theManager, | ||
const XalanDOMChar * | ch, | ||
XalanDOMString::size_type | start, | ||
XalanDOMString::size_type | length | ||
) |
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 |
xalanc::GenerateEvent::GenerateEvent | ( | EventType | eventType, |
MemoryManager & | theManager, | ||
const XalanDOMChar * | name, | ||
const XalanDOMChar * | data | ||
) |
Constructor for processingInstruction events.
eventType | one of the EVENTTYPE_XXX constants |
name | name of the processing instruction |
data | processing instruction data |
xalanc::GenerateEvent::GenerateEvent | ( | EventType | eventType, |
MemoryManager & | theManager, | ||
const XalanDOMChar * | 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 |
XalanDOMString xalanc::GenerateEvent::m_characters |
Character data from a character or cdata event.
Definition at line 197 of file GenerateEvent.hpp.
XalanDOMString xalanc::GenerateEvent::m_data |
The string data in the element (comments and PIs).
Definition at line 217 of file GenerateEvent.hpp.
EventType xalanc::GenerateEvent::m_eventType |
The type of SAX event that was generated, as enumerated in the EVENTTYPE_XXX constants above.
Definition at line 192 of file GenerateEvent.hpp.
XalanDOMString::size_type xalanc::GenerateEvent::m_length |
The length of the current data in m_characters.
Definition at line 207 of file GenerateEvent.hpp.
XalanDOMString xalanc::GenerateEvent::m_name |
The name of the element or PI.
Definition at line 212 of file GenerateEvent.hpp.
const AttributeListType* xalanc::GenerateEvent::m_pAtts |
The current attribute list.
Definition at line 222 of file GenerateEvent.hpp.
XalanDOMString::size_type xalanc::GenerateEvent::m_start |
The start position of the current data in m_characters.
Definition at line 202 of file GenerateEvent.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:32 for Xalan-C++ API Reference by 1.8.17