Public Member Functions | Public Attributes

de.mfuchs.xmlstorage.XMLHeader Class Reference

XMLHeader manages the content of XML file headers. More...

Collaboration diagram for de.mfuchs.xmlstorage.XMLHeader:
Collaboration graph

List of all members.

Public Member Functions

 XMLHeader ()
 XMLHeader (final String xmlVersion, final String encoding, final String docType)
void print (Writer out) throws IOException
void print (Writer out, boolean pretty) throws IOException

Public Attributes

String _version = ""
String _encoding = ""
String _docType = ""
String _additional = ""

Detailed Description

XMLHeader manages the content of XML file headers.

Definition at line 48 of file

Constructor & Destructor Documentation

de.mfuchs.xmlstorage.XMLHeader.XMLHeader (  )

Definition at line 50 of file

        this("1.0", "UTF-8", "");
de.mfuchs.xmlstorage.XMLHeader.XMLHeader ( final String  xmlVersion,
final String  encoding,
final String  docType 

Member Function Documentation

void de.mfuchs.xmlstorage.XMLHeader.print ( Writer  out ) throws IOException

Definition at line 63 of file

Referenced by de.mfuchs.xmlstorage.XMLDoc.write().

        print(out, true);
void de.mfuchs.xmlstorage.XMLHeader.print ( Writer  out,
boolean  pretty 
) throws IOException

Definition at line 68 of file

References de.mfuchs.xmlstorage.XMLHeader._additional, de.mfuchs.xmlstorage.XMLHeader._docType, de.mfuchs.xmlstorage.XMLHeader._encoding, and de.mfuchs.xmlstorage.XMLHeader._version.

        out.write("<?xml version=\"");
        out.write("\" encoding=\"");

        if (pretty)

        if (_docType.length() > 0) {

        if (_additional.length() > 0) {

Member Data Documentation

The documentation for this class was generated from the following file: