Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: xml :: sax ::

unpublished interface XFastSerializer
Usage Restrictions
not published
Description
receives notification of sax document events to write into an XOutputStream.

Methods' Summary
startDocument called by the parser when parsing of an xml stream is started.  
endDocument called by the parser after the last xml element of a stream is processed.  
startFastElement receives notification of the beginning of an element .  
startUnknownElement receives notification of the beginning of an unknown element .  
endFastElement receives notification of the end of an known element.  
endUnknownElement receives notification of the end of an known element.  
singleFastElement receives notification of the beginning of a single element .  
singleUnknownElement receives notification of the beginning of a single unknown element .  
characters receives notification of character data.  
setOutputStream  
setFastTokenHandler  
Methods' Details
startDocument
void
startDocument()
raises( SAXException );

Description
called by the parser when parsing of an xml stream is started.
endDocument
void
endDocument()
raises( SAXException );

Description
called by the parser after the last xml element of a stream is processed.
startFastElement
void
startFastElement( [in] long  Element,
[in] XFastAttributeList  Attribs )
raises( SAXException );

Description
receives notification of the beginning of an element .
Parameter Element
contains the integer token from the XFastTokenHandler registered at the XFastParser.
If the element has a namespace that was registered with the XFastParser, Element contains the integer token of the elements local name from the XFastTokenHandler and the integer token of the namespace combined with an arithmetic or operation.
Parameter Attribs
Contains a ::XFastAttrbitueList to access the attributes from the element.
startUnknownElement
void
startUnknownElement( [in] string  Namespace,
[in] string  Name,
[in] XFastAttributeList  Attribs )
raises( SAXException );

Description
receives notification of the beginning of an unknown element .
Parameter Namespace
contains the namespace url (not the prefix!) of this element.
Parameter Name
contains the elements local name.
Parameter Attribs
Contains a ::XFastAttrbitueList to access the attributes from the element.
endFastElement
void
endFastElement( [in] long  Element )
raises( SAXException );

Description
receives notification of the end of an known element.
See also
startFastElement
endUnknownElement
void
endUnknownElement( [in] string  Namespace,
[in] string  Name )
raises( SAXException );

Description
receives notification of the end of an known element.
See also
startUnknownElement
singleFastElement
void
singleFastElement( [in] long  Element,
[in] XFastAttributeList  Attribs )
raises( SAXException );

Description
receives notification of the beginning of a single element .
Parameter Element
contains the integer token from the XFastTokenHandler registered at the XFastParser.
If the element has a namespace that was registered with the XFastParser, Element contains the integer token of the elements local name from the XFastTokenHandler and the integer token of the namespace combined with an arithmetic or operation.
Parameter Attribs
Contains a ::XFastAttrbitueList to access the attributes from the element.
singleUnknownElement
void
singleUnknownElement( [in] string  Namespace,
[in] string  Name,
[in] XFastAttributeList  Attribs )
raises( SAXException );

Description
receives notification of the beginning of a single unknown element .
Parameter Namespace
contains the namespace url (not the prefix!) of this element.
Parameter Name
contains the elements local name.
Parameter Attribs
Contains a ::XFastAttrbitueList to access the attributes from the element.
characters
void
characters( [in] string  aChars )
raises( SAXException );

Description
receives notification of character data.
setOutputStream
void
setOutputStream( [in] ::com::sun::star::io::XOutputStream  xOutputStream );

setFastTokenHandler
void
setFastTokenHandler( [in] XFastTokenHandler  xFastTokenHandler );

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.