Fields Summary |
---|
public static final int | EVENTTYPE_STARTDOCUMENTEvent type generated when a document begins. |
public static final int | EVENTTYPE_ENDDOCUMENTEvent type generated when a document ends. |
public static final int | EVENTTYPE_STARTELEMENTEvent type generated when an element begins (after the attributes have been processed but before the children have been added). |
public static final int | EVENTTYPE_ENDELEMENTEvent type generated when an element ends, after it's children have been added. |
public static final int | EVENTTYPE_CHARACTERSEvent type generated for character data (CDATA and Ignorable Whitespace have their own events). |
public static final int | EVENTTYPE_IGNORABLEWHITESPACEEvent type generated for ignorable whitespace (I'm not sure how much this is actually called. |
public static final int | EVENTTYPE_PIEvent type generated for processing instructions. |
public static final int | EVENTTYPE_COMMENTEvent type generated after a comment has been added. |
public static final int | EVENTTYPE_ENTITYREFEvent type generate after an entity ref is created. |
public static final int | EVENTTYPE_CDATAEvent type generated after CDATA is generated. |
public static final int | EVENTTYPE_OUTPUT_PSEUDO_CHARACTERSEvent 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. |
public static final int | EVENTTYPE_OUTPUT_CHARACTERSEvent type generated when characters are written to an output stream. |
Methods Summary |
---|
public void | fireGenerateEvent(int eventType)Fire startDocument, endDocument events.
|
public void | fireGenerateEvent(int eventType, java.lang.String name, org.xml.sax.Attributes atts)Fire startElement, endElement events.
|
public void | fireGenerateEvent(int eventType, char[] ch, int start, int length)Fire characters, cdata events.
|
public void | fireGenerateEvent(int eventType, java.lang.String name, java.lang.String data)Fire processingInstruction events.
|
public void | fireGenerateEvent(int eventType, java.lang.String data)Fire comment and entity ref events.
|
public boolean | hasTraceListeners()Tell if trace listeners are present.
|