org.objectweb.proactive.core.xml.handler.CollectionUnmarshaller Class Reference

Receives SAX event and pass them on. More...

Inheritance diagram for org.objectweb.proactive.core.xml.handler.CollectionUnmarshaller:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.proactive.core.xml.handler.CollectionUnmarshaller:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CollectionUnmarshaller (boolean lenient)
 CollectionUnmarshaller ()
 CollectionUnmarshaller (Class targetClass, boolean lenient)
 CollectionUnmarshaller (Class targetClass)
Object getResultObject () throws org.xml.sax.SAXException
 Returns the object resulting of the processing of the SAX events.
void startContextElement (String name, Attributes attributes) throws org.xml.sax.SAXException
 Receives notification that the XML element of given name and attributes has been read in the XML being deserialized.

Protected Member Functions

void notifyEndActiveHandler (String name, UnmarshallerHandler activeHandler) throws org.xml.sax.SAXException

Protected Attributes

java.util.ArrayList resultList
Class targetClass

Detailed Description

Receives SAX event and pass them on.

Author:
Lionel Mestre
Version:
0.91

Definition at line 44 of file CollectionUnmarshaller.java.


Member Function Documentation

Object org.objectweb.proactive.core.xml.handler.CollectionUnmarshaller.getResultObject (  )  throws org.xml.sax.SAXException

Returns the object resulting of the processing of the SAX events.

Returns:
the object resulting of the processing of the SAX events or null
Exceptions:
org.xml.sax.SAXException if the state of the handler does not allow to return any resulting object.

Implements org.objectweb.proactive.core.xml.handler.UnmarshallerHandler.

Definition at line 75 of file CollectionUnmarshaller.java.

References org.objectweb.proactive.core.xml.handler.CollectionUnmarshaller.resultList, and org.objectweb.proactive.core.xml.handler.CollectionUnmarshaller.targetClass.

void org.objectweb.proactive.core.xml.handler.CollectionUnmarshaller.startContextElement ( String  name,
Attributes  attributes 
) throws org.xml.sax.SAXException

Receives notification that the XML element of given name and attributes has been read in the XML being deserialized.

This element is the context element of the Object being unmarshalled. This context element is the element that has triggered the use of this handler.

Parameters:
name the name of the element just opened
attributes the attributes of this element
Exceptions:
org.xml.sax.SAXException if an exception occur during processing

Implements org.objectweb.proactive.core.xml.handler.UnmarshallerHandler.

Definition at line 97 of file CollectionUnmarshaller.java.

References org.objectweb.proactive.core.xml.handler.CollectionUnmarshaller.resultList.


The documentation for this class was generated from the following file:
Generated on Mon Jan 22 15:16:34 2007 for ProActive by  doxygen 1.5.1