|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
XDBDocHandler This interface defines the XStreamDB event stream visible to the Client API.
| Method Summary | |
void |
xdbAttribute(String attributeName,
FlexStringBuffer fsbValue,
String prefix,
String namespaceURI)
Called when the parser detects an Attribute inside of an Element. |
void |
xdbCData(FlexStringBuffer fsb)
Called when a CDATA Node is detected by the parser. |
void |
xdbComment(FlexStringBuffer fsb)
Called when a comment is detected by the parser. |
void |
xdbEndDocument()
Called when the parser detects the end of a document. |
void |
xdbEndElement(String prefix,
String elementName,
String namespaceURI)
Called when the parser detects an Element (tag) being closed. |
void |
xdbProcessingInstruction(String target,
String data)
Called when a processing instruction is detected by the parser. |
void |
xdbStartDocument(DocumentInfo docInfo)
Called when the parser detects the start of a document. |
void |
xdbStartElement(String prefix,
String elementName,
String namespaceURI)
Called when the parser detects the start of a Element. |
void |
xdbText(FlexStringBuffer fsb)
Called when a Text Node is detected by the parser. |
| Method Detail |
public void xdbStartDocument(DocumentInfo docInfo)
docInfo - A DocumentInfo object.DocumentInfopublic void xdbEndDocument()
public void xdbStartElement(String prefix,
String elementName,
String namespaceURI)
public void xdbEndElement(String prefix,
String elementName,
String namespaceURI)
public void xdbAttribute(String attributeName,
FlexStringBuffer fsbValue,
String prefix,
String namespaceURI)
attributeName - The attribute's name. For NS Decls this will contain
the declPrefix, or for no declPrefix this will contain xmlns.fsbValue - The character representation of the attribute value - only valid
for the duration of this call.public void xdbText(FlexStringBuffer fsb)
fsb - The character buffer holding the text
NOTE: This method will be called
for each contiguous text block under an element.
This may result in multiple xdbText()
calls for a single element.FlexStringBufferpublic void xdbCData(FlexStringBuffer fsb)
fsb - The character buffer holding the CDATA contentFlexStringBufferpublic void xdbComment(FlexStringBuffer fsb)
fsb - The character buffer holding the text.FlexStringBuffer
public void xdbProcessingInstruction(String target,
String data)
target - The name of the target application as embedded in the PI.data - The string to be sent to the target.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||