org.objectweb.proactive.core.xml.handler
Interface UnmarshallerHandler
- All Superinterfaces:
- XMLHandler
- All Known Implementing Classes:
- AbstractUnmarshallerDecorator, BasicUnmarshaller
- public interface UnmarshallerHandler
- extends XMLHandler
Receives SAX event and pass them on
- Version:
- 0.91
- Author:
- Lionel Mestre
Field Summary |
static org.apache.log4j.Logger |
logger
|
Method Summary |
java.lang.Object |
getResultObject()
Returns the object resulting of the processing of the SAX events. |
void |
startContextElement(java.lang.String name,
Attributes attributes)
Receives notification that the XML element of given name and attributes has been read in the
XML being deserialized. |
logger
public static final org.apache.log4j.Logger logger
getResultObject
public java.lang.Object 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
- Throws:
org.xml.sax.SAXException
- if the state of the handler does not allow to
return any resulting object.
startContextElement
public void startContextElement(java.lang.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 openedattributes
- the attributes of this element
- Throws:
org.xml.sax.SAXException
- if an exception occur during processing
Copyright © April 2004 INRIA All Rights Reserved.