com.japisoft.xmlappkit
Interface XMLContext


public interface XMLContext

Context for resetting the XMLAppContainer with an XML document

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Method Summary
 java.lang.String getText()
           
 void read(java.io.Reader reader)
          Read an XML document from this reader
 void setText(java.lang.String text)
           
 void write(java.io.Writer writer)
          Write the current XML document on thir writer
 

Method Detail

setText

public void setText(java.lang.String text)
Parameters:
text - an XML document
Throws:
XMLException - is the document is not well-formed

getText

public java.lang.String getText()
Returns:
the current XML document

read

public void read(java.io.Reader reader)
          throws java.io.IOException
Read an XML document from this reader

Throws:
XMLException - is the doucment is not well-formed
java.io.IOException

write

public void write(java.io.Writer writer)
           throws java.io.IOException
Write the current XML document on thir writer

Throws:
java.io.IOException