Previous Next

RESET( ) method
Closes the open stream and resets the SAX-writer object to its default values.
Return type:
Applies to:
 
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:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.