cmlabs::HTMLPage Class Reference

#include <HTML.h>

Inheritance diagram for cmlabs::HTMLPage:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::HTMLPage:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HTMLPage ()
 HTMLPage (const JString &title, const JString &bodyhtml)
 HTMLPage (char *rawdata, int len, const JString &type)
 HTMLPage (Bitmap *bitmap)
 HTMLPage (const JString &filename)
 HTMLPage (XMLNode *node)
virtual ~HTMLPage ()
bool fromXML (XMLNode *node)
JString toXML ()
virtual unsigned long getPayloadSize () const
 Get total size of payload.
Objectclone () const
bool generateHTML ()
bool generateHTMLfromFile (const JString &filename)
bool generateHTMLfromXML (const JString &xml)
bool generateHTMLfromRawData ()
bool generateUseLocalCopyPage ()
bool generateMovedPermanentlyPage ()
bool readFile (const JString &filename, bool isBinary)
bool setXMLContent (const JString &xml)
bool setMovedPermanently (const JString &location)

Static Public Member Functions

static HTMLPagecreateSimplePage (const JString &title, const JString &msg)
static HTMLPagecreateErrorPage (const JString &title, const JString &msg)
static JString printErrorHTML (const JString &title="", const JString &msg="")
static JString printSimpleHTML (const JString &title="", const JString &msg="")

Public Attributes

JString rootdir
JString htmlFilename
JString title
JString body
JString location
JString everything
JString frameset
JString xmlData
char * data
int datalength
char * rawData
int rawDataLength
JString rawDataType
JString autoRefreshPage
int autoRefresh
JString connectionType
bool keep_alive
bool noCaching
bool useLocalCopy
bool movedPermanently
JString bodyBGColor
JString bodyFGColor

Private Member Functions

void init ()
JString generateHeader (int length)


Detailed Description

Definition at line 40 of file HTML.h.


Constructor & Destructor Documentation

cmlabs::HTMLPage::HTMLPage (  ) 

Definition at line 35 of file HTML.cpp.

cmlabs::HTMLPage::HTMLPage ( const JString title,
const JString bodyhtml 
)

Definition at line 50 of file HTML.cpp.

cmlabs::HTMLPage::HTMLPage ( char *  rawdata,
int  len,
const JString type 
)

Definition at line 62 of file HTML.cpp.

cmlabs::HTMLPage::HTMLPage ( Bitmap bitmap  ) 

Definition at line 78 of file HTML.cpp.

cmlabs::HTMLPage::HTMLPage ( const JString filename  ) 

Definition at line 97 of file HTML.cpp.

cmlabs::HTMLPage::HTMLPage ( XMLNode node  ) 

Definition at line 109 of file HTML.cpp.

cmlabs::HTMLPage::~HTMLPage (  )  [virtual]

Definition at line 120 of file HTML.cpp.


Member Function Documentation

HTMLPage * cmlabs::HTMLPage::createSimplePage ( const JString title,
const JString msg 
) [static]

Definition at line 750 of file HTML.cpp.

HTMLPage * cmlabs::HTMLPage::createErrorPage ( const JString title,
const JString msg 
) [static]

Definition at line 744 of file HTML.cpp.

bool cmlabs::HTMLPage::fromXML ( XMLNode node  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 153 of file HTML.cpp.

JString cmlabs::HTMLPage::toXML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 186 of file HTML.cpp.

unsigned long cmlabs::HTMLPage::getPayloadSize (  )  const [virtual]

Get total size of payload.

Reimplemented from cmlabs::Object.

Definition at line 128 of file HTML.cpp.

Object * cmlabs::HTMLPage::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 145 of file HTML.cpp.

bool cmlabs::HTMLPage::generateHTML (  ) 

Definition at line 207 of file HTML.cpp.

bool cmlabs::HTMLPage::generateHTMLfromFile ( const JString filename  ) 

Definition at line 439 of file HTML.cpp.

bool cmlabs::HTMLPage::generateHTMLfromXML ( const JString xml  ) 

Definition at line 378 of file HTML.cpp.

bool cmlabs::HTMLPage::generateHTMLfromRawData (  ) 

Definition at line 625 of file HTML.cpp.

bool cmlabs::HTMLPage::generateUseLocalCopyPage (  ) 

Definition at line 304 of file HTML.cpp.

bool cmlabs::HTMLPage::generateMovedPermanentlyPage (  ) 

Definition at line 328 of file HTML.cpp.

JString cmlabs::HTMLPage::printErrorHTML ( const JString title = "",
const JString msg = "" 
) [static]

Definition at line 756 of file HTML.cpp.

JString cmlabs::HTMLPage::printSimpleHTML ( const JString title = "",
const JString msg = "" 
) [static]

Definition at line 772 of file HTML.cpp.

bool cmlabs::HTMLPage::readFile ( const JString filename,
bool  isBinary 
)

Definition at line 788 of file HTML.cpp.

bool cmlabs::HTMLPage::setXMLContent ( const JString xml  ) 

Definition at line 373 of file HTML.cpp.

bool cmlabs::HTMLPage::setMovedPermanently ( const JString location  ) 

Definition at line 199 of file HTML.cpp.

void cmlabs::HTMLPage::init (  )  [private]

JString cmlabs::HTMLPage::generateHeader ( int  length  )  [private]

Definition at line 269 of file HTML.cpp.


Member Data Documentation

Definition at line 73 of file HTML.h.

Definition at line 74 of file HTML.h.

Definition at line 75 of file HTML.h.

Definition at line 76 of file HTML.h.

Definition at line 77 of file HTML.h.

Definition at line 78 of file HTML.h.

Definition at line 79 of file HTML.h.

Definition at line 80 of file HTML.h.

Definition at line 81 of file HTML.h.

Definition at line 82 of file HTML.h.

Definition at line 83 of file HTML.h.

Definition at line 84 of file HTML.h.

Definition at line 85 of file HTML.h.

Definition at line 87 of file HTML.h.

Definition at line 88 of file HTML.h.

Definition at line 89 of file HTML.h.

Definition at line 90 of file HTML.h.

Definition at line 92 of file HTML.h.

Definition at line 93 of file HTML.h.

Definition at line 94 of file HTML.h.

Definition at line 96 of file HTML.h.

Definition at line 97 of file HTML.h.


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

Generated on Tue Jul 7 16:22:40 2009 for CoreLibrary by  doxygen 1.5.6