Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

PXmlDoc< PXmlObject > Protocol Reference

#import <xmldoc.h>

List of all members.

Public Member Functions

(id< PXmlNode >) rootNode
(id) setInputFileName:
(const char *) inputFileName
(id) setOutputFileName:
(int) save
(int) saveFileAs:
(xmlDocPtr) docPtr


Detailed Description

PXmlDoc Public interface for XmlDoc class Public interface for XmlDoc class


Member Function Documentation

- (xmlDocPtr PXmlDoc< PXmlObject >):
 

docPtr Get content of document. Get content of document.

Returns:
xmlDocPtr type data.

- (const char * PXmlDoc< PXmlObject >):
 

inputFileName Get input file name.

Returns:
Input file name or null. Get input file name string. If the name is null, it means the document does not have input file or read from standard input.

- (id <PXmlNode> PXmlDoc< PXmlObject >):
 

rootNode Get root node. Get root node.

Returns:
Root node.

- (int PXmlDoc< PXmlObject >):
 

save Save the document into the output file. Save the document into the output file.

Returns:
Number of writen bytes. If some errors were occured, this value will be negative.

- (int PXmlDoc< PXmlObject >): (id) 
(const char *) 
(id)  fname
 

saveFileAS Save the document into the output file. Save the document into the output file.

Parameters:
fname Destination output file name. If you give null pointer, standard output are used.
Returns:
Number of writen bytes. If some errors were occured, this value will be negative.

- (id PXmlDoc< PXmlObject >): (id) 
(const char *) 
(id)  fname
 

setInputFileName Set input file name string.

Parameters:
fname Input file name. It will be null. Set input file name string. If the name is null, it means the document does not have input file or read from standard input.

- (id PXmlDoc< PXmlObject >): (id) 
(const char *) 
(id)  fname
 

setOutputFileName Set output file name string. Set output file name string. If the name is null, it means the document is saved into standard output.

Parameters:
fname Output file name. It will be null.


The documentation for this protocol was generated from the following file:
Generated on Sat Feb 14 11:43:48 2004 for LibXmlKit by doxygen 1.3.6