org.marre.xml
Interface XmlDocument

All Known Subinterfaces:
WbxmlDocument
All Known Implementing Classes:
NokiaOtaBrowserSettings, WapSIPush, WapSLPush

public interface XmlDocument

Interface for objects that can be represented in xml form.

Version:
$Id: XmlDocument.java,v 1.2 2004/12/07 20:03:21 c95men Exp $
Author:
Markus

Method Summary
 java.lang.String getContentType()
          Returns the content-type of this xml document.
 void writeXmlTo(XmlWriter xmlWriter)
          Writes this object to the given XmlWriter.
 

Method Detail

getContentType

public java.lang.String getContentType()
Returns the content-type of this xml document.

Returns:
Content-type. Ex: "text/xml".

writeXmlTo

public void writeXmlTo(XmlWriter xmlWriter)
                throws java.io.IOException
Writes this object to the given XmlWriter.

Parameters:
xmlWriter - XmlWriter to write to.
Throws:
java.io.IOException - Thrown if failed to write to xmlwriter.


Copyright © 2002-2005 Markus Eriksson. All Rights Reserved.