|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::xml::XMLObjectWriter Class Reference#include <XMLObjectWriter.h>
Inheritance diagram for acdk::xml::XMLObjectWriter:
List of all members.
Detailed Description
API: ACDK<br/> Writes all ACDK Objects with meta-info to XML.
This mechanism can also be used to store objects in a file. - Author:
- Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.20
- Date:
- Date
- 2005/04/10 12:52:41
- Bug:
- none known, but not very intensiv tested
please refer to ref[acdk_xml_XMLObjectReaderWriter_man]
Constructor & Destructor Documentation
Member Function Documentation
void acdk::xml::XMLObjectWriter::_dumpindend |
( |
|
) |
[protected] |
|
void acdk::xml::XMLObjectWriter::doIdent |
( |
bool |
indent |
) |
[inline] |
|
|
writing formated XML for easier to read
|
virtual void acdk::xml::XMLObjectWriter::write |
( |
IN(RbyteArray) |
array, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeBoolean |
( |
bool |
b |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeChar |
( |
char |
b |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeClassId |
( |
IN(::acdk::lang::RClass) |
obj |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeDouble |
( |
double |
b |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeFloat |
( |
float |
b |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeInt |
( |
int |
b |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeLong |
( |
jlong |
b |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeOpaque |
( |
IN(RbyteArray) |
array |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeShort |
( |
short |
b |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeStringImpl |
( |
IN(RString) |
str |
) |
[virtual] |
|
virtual void acdk::xml::XMLObjectWriter::writeTagEnd |
( |
IN(RString) |
key, |
|
|
IN(RString) |
value = Nil |
|
) |
[virtual] |
|
|
Writes end of Tag.
This function will be written, to For example '' for a int type. This function will be called by writeObject if the object should be written with tags
Implements acdk::io::AbstractObjectWriter. |
virtual void acdk::xml::XMLObjectWriter::writeTagStart |
( |
IN(RString) |
key, |
|
|
IN(RString) |
value = Nil |
|
) |
[virtual] |
|
|
Writes start of Tag.
This function will be written, to For example '' for a int type in a XML style writer. This function will be called by writeObject if the object should be written with tags
Implements acdk::io::AbstractObjectWriter. |
virtual void acdk::xml::XMLObjectWriter::writeUcChar |
( |
uc2char |
b |
) |
[virtual] |
|
RString acdk::xml::XMLObjectWriter::xmldecode |
( |
IN(RString) |
txt |
) |
[static] |
|
RString acdk::xml::XMLObjectWriter::xmlencode |
( |
IN(RString) |
txt |
) |
[static] |
|
|
In case ObjectWriter should handle writing Objects which may have cyclic references, for each acdk::lang::Object a local reference id.
Recursive and duplicated elements will be written only one in the stream. If the implementing ObjectReader does not support local reference resolutions, it should throw NotSupportedException |
Member Data Documentation
|
writing formated XML for easier to read
|
|
helper for render as text
|
|
|