Closes the component writing stream.
public void close();
This method will close any open XML elements, and then close the OutputFile or output stream if necessary.