Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

unmarshaller.c File Reference

#include <errno.h>
#include <stdlib.h>
#include "contentHandler.h"
#include "fileinputstream.h"
#include "gzipinputstream.h"
#include "validator.h"
#include "xmlcpg.h"
#include "unmarshaller.h"

Compounds

struct  rnamlUNMARSHALLER

Functions

rnamlUnmarshallerrnamlnewUnmarshaller ()
 Creates a new rnamlUnmarshaller structure.

rnamlUnmarshallerrnamlcloneUnmarshaller (const rnamlUnmarshaller *um)
 Clones a rnamlUnmarshaller structure.

void rnamldeleteUnmarshaller (rnamlUnmarshaller *um)
 Frees the rnamlUnmarshaller structure.

int rnamlequalsUnmarshaller (const rnamlUnmarshaller *left, const rnamlUnmarshaller *right)
 Tells if both structures are rnamlUnmarshaller and equals.

int rnamlisUnmarshaller (const rnamlObject *obj)
 Tells wether the object is a rnamlUnmarshaller.

void rnamlsetUnmarshallerValidating (rnamlUnmarshaller *um, int validating)
 Set the validation flag.

rnamlRnamlrnamlunmarshallUnmarshaller (rnamlUnmarshaller *um, FILE *f)
 Reads the XML stream pointed by f and generates the rnaml structures.

rnamlRnamlrnamlunmarshallUnmarshallerStream (rnamlUnmarshaller *um, xmlcpgInputStream *is)
 Reads the xmlcgp input stream pointed by f and generates the rnaml structures.


Function Documentation

rnamlUnmarshaller* rnamlcloneUnmarshaller const rnamlUnmarshaller   um
 

Clones a rnamlUnmarshaller structure.

Parameters:
um  the structure to clone.
Returns:
the new allocated structure or NULL if something goes wrong.

void rnamldeleteUnmarshaller rnamlUnmarshaller   um
 

Frees the rnamlUnmarshaller structure.

Parameters:
um  the structure to free.

int rnamlequalsUnmarshaller const rnamlUnmarshaller   left,
const rnamlUnmarshaller   right
 

Tells if both structures are rnamlUnmarshaller and equals.

Parameters:
left  the left structure.
right  the right structure.
Returns:
1 if the objects are equals, 0 otherwise.

int rnamlisUnmarshaller const rnamlObject   obj
 

Tells wether the object is a rnamlUnmarshaller.

Parameters:
obj  the object to test.
Returns:
1 if the object is a rnamlUnmarshaller, 0 otherwise.

rnamlUnmarshaller* rnamlnewUnmarshaller  
 

Creates a new rnamlUnmarshaller structure.

Returns:
the new allocated structure or NULL if something goes wrong.

void rnamlsetUnmarshallerValidating rnamlUnmarshaller   um,
int    validating
 

Set the validation flag.

Parameters:
um  the rnamlUnmarshaller structure.
validating  the validation flag.

rnamlRnaml* rnamlunmarshallUnmarshaller rnamlUnmarshaller   um,
FILE *    f
 

Reads the XML stream pointed by f and generates the rnaml structures.

Parameters:
um  the rnamlUnmarshaller structure.
f  the input stream.
Returns:
the rnamlRnaml structure.

rnamlRnaml* rnamlunmarshallUnmarshallerStream rnamlUnmarshaller   um,
xmlcpgInputStream   is
 

Reads the xmlcgp input stream pointed by f and generates the rnaml structures.

Parameters:
um  the rnamlUnmarshaller structure.
is  the input stream.
Returns:
the rnamlRnaml structure.


Generated on Tue Nov 11 14:59:53 2003 for xmlcpg by doxygen1.2.18