org.apache.xalan.trace
public class GenerateEvent extends Object implements EventListener
See Also: DOMBuilder ToHTMLStream ToTextStream
UNKNOWN: advanced
Field Summary | |
---|---|
Attributes | m_atts
The current attribute list. |
char[] | m_characters
Character data from a character or cdata event. |
String | m_data
The string data in the element (comments and PIs). |
int | m_eventtype
The type of SAX event that was generated, as enumerated in the EVENTTYPE_XXX constants below. |
int | m_length
The length of the current data in m_characters. |
String | m_name
The name of the element or PI. |
TransformerImpl | m_processor
The XSLT Transformer, which either directly or indirectly contains most needed information.
|
int | m_start
The start position of the current data in m_characters. |
Constructor Summary | |
---|---|
GenerateEvent(TransformerImpl processor, int eventType)
Constructor for startDocument, endDocument events.
| |
GenerateEvent(TransformerImpl processor, int eventType, String name, Attributes atts)
Constructor for startElement, endElement events.
| |
GenerateEvent(TransformerImpl processor, int eventType, char[] ch, int start, int length)
Constructor for characters, cdate events.
| |
GenerateEvent(TransformerImpl processor, int eventType, String name, String data)
Constructor for processingInstruction events.
| |
GenerateEvent(TransformerImpl processor, int eventType, String data)
Constructor for comment and entity ref events.
|
See Also: TransformerImpl
Parameters: processor The XSLT TransformerFactory instance. eventType One of the EVENTTYPE_XXX constants.
Parameters: processor The XSLT TransformerFactory Instance. eventType One of the EVENTTYPE_XXX constants. name The name of the element. atts The SAX attribute list.
Parameters: processor The XSLT TransformerFactory instance. eventType One of the EVENTTYPE_XXX constants. ch The char array from the SAX event. start The start offset to be used in the char array. length The end offset to be used in the chara array.
Parameters: processor The instance of the XSLT processor. eventType One of the EVENTTYPE_XXX constants. name The name of the processing instruction. data The processing instruction data.
Parameters: processor The XSLT processor instance. eventType One of the EVENTTYPE_XXX constants. data The comment or entity ref data.