org.objectweb.proactive.core.descriptor.xml
Class ProcessDefinitionHandler.ProcessHandler.EnvironmentHandler

java.lang.Object
  |
  +--org.objectweb.proactive.core.xml.handler.BasicUnmarshaller
        |
        +--org.objectweb.proactive.core.descriptor.xml.ProcessDefinitionHandler.ProcessHandler.EnvironmentHandler
All Implemented Interfaces:
UnmarshallerHandler, XMLHandler
Enclosing class:
ProcessDefinitionHandler.ProcessHandler

protected class ProcessDefinitionHandler.ProcessHandler.EnvironmentHandler
extends BasicUnmarshaller

This class receives environment events


Field Summary
 
Fields inherited from class org.objectweb.proactive.core.xml.handler.BasicUnmarshaller
isResultValid, resultObject
 
Fields inherited from interface org.objectweb.proactive.core.xml.handler.UnmarshallerHandler
logger
 
Constructor Summary
ProcessDefinitionHandler.ProcessHandler.EnvironmentHandler()
           
 
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.
 void startElement(java.lang.String name, Attributes attributes)
          Receives notification that an XML element of given name and attributes has been read in the XML being deserialized
 
Methods inherited from class org.objectweb.proactive.core.xml.handler.BasicUnmarshaller
checkNonEmpty, endElement, endPrefixMapping, readValue, setResultObject, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessDefinitionHandler.ProcessHandler.EnvironmentHandler

public ProcessDefinitionHandler.ProcessHandler.EnvironmentHandler()
Method Detail

startContextElement

public void startContextElement(java.lang.String name,
                                Attributes attributes)
                         throws org.xml.sax.SAXException
Description copied from interface: UnmarshallerHandler
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.

Specified by:
startContextElement in interface UnmarshallerHandler
Overrides:
startContextElement in class BasicUnmarshaller
Parameters:
name - the name of the element just opened
attributes - the attributes of this element
Throws:
org.xml.sax.SAXException - if an exception occur during processing

getResultObject

public java.lang.Object getResultObject()
                                 throws org.xml.sax.SAXException
Description copied from interface: UnmarshallerHandler
Returns the object resulting of the processing of the SAX events.

Specified by:
getResultObject in interface UnmarshallerHandler
Overrides:
getResultObject in class BasicUnmarshaller
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.

startElement

public void startElement(java.lang.String name,
                         Attributes attributes)
                  throws org.xml.sax.SAXException
Description copied from interface: XMLHandler
Receives notification that an XML element of given name and attributes has been read in the XML being deserialized

Specified by:
startElement in interface XMLHandler
Overrides:
startElement in class BasicUnmarshaller
Parameters:
name - the name of the element just opened
attributes - the attributes of this element
Throws:
org.xml.sax.SAXException - if an exception occur during processing


Copyright © April 2004 INRIA All Rights Reserved.