RESET( ) method

Closes the open stream and resets the SAX-writer object to its default values.

Return type: LOGICAL

Applies to: SAX-writer object handle

Syntax

RESET( )

Use this method to reuse a SAX-writer object for multiple documents or to cancel a write.

The object attributes and the output destination remain unchanged. The WRITE-STATUS attribute is set to SAX-WRITE-IDLE.

You can call this method at any time. If the WRITE-STATUS attribute is either SAX-WRITE-IDLE or SAX-WRITE-COMPLETE, the method call has no effect. Otherwise, the method call closes the document and stream, and aborts the write.

See also

WRITE-STATUS attribute