org.apache.wsil.xml
Class XMLWriter

java.lang.Object
  extended by org.apache.wsil.xml.XMLWriter
All Implemented Interfaces:
DocumentWriter

public class XMLWriter
extends java.lang.Object
implements DocumentWriter

This class will write the contents of a WS-Inspection document.

Version:
1.0

Field Summary
protected  ExtensionRegistry extRegistry
          WSIL extension registry.
protected  WSILDocument wsilDocument
          WSIL document.
 
Constructor Summary
XMLWriter()
          Create a WSIL document writer.
 
Method Summary
 void writeDocument(WSILDocument wsilDocument, java.io.OutputStream stream)
          Write WSIL document.
 void writeDocument(WSILDocument wsilDocument, java.io.Writer writer)
          Write WSIL document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wsilDocument

protected WSILDocument wsilDocument
WSIL document.


extRegistry

protected ExtensionRegistry extRegistry
WSIL extension registry.

Constructor Detail

XMLWriter

public XMLWriter()
Create a WSIL document writer.

Method Detail

writeDocument

public void writeDocument(WSILDocument wsilDocument,
                          java.io.OutputStream stream)
                   throws WSILException
Write WSIL document.

Throws:
WSILException

writeDocument

public void writeDocument(WSILDocument wsilDocument,
                          java.io.Writer writer)
                   throws WSILException
Write WSIL document.

Specified by:
writeDocument in interface DocumentWriter
Parameters:
wsilDocument - the WS-Inspection document
writer - the output writer
Throws:
WSILException


Copyright ? 2001 International Business Machines Corporation. All Rights Reserved.