org.objectweb.proactive.core.xml.io
Interface XMLHandler

All Known Subinterfaces:
UnmarshallerHandler
All Known Implementing Classes:
AbstractUnmarshallerDecorator, BasicUnmarshaller

public interface XMLHandler

Receives SAX event and pass them on

Version:
0.91
Author:
Lionel Mestre

Method Summary
 void endElement(java.lang.String name)
          Receives notification that the end of an XML element of given name has been read in the XML being deserialized
 void endPrefixMapping(java.lang.String prefix)
          Receives notification that the scope of an XML prefix has just ended
 void readValue(java.lang.String value)
          Receives notification that an XML value 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
 void startPrefixMapping(java.lang.String prefix, java.lang.String uri)
          Receives notification that an XML prefix has just been defined
 

Method Detail

startElement

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

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

readValue

public void readValue(java.lang.String value)
               throws org.xml.sax.SAXException
Receives notification that an XML value has been read in the XML being deserialized

Parameters:
value - the value just read
Throws:
org.xml.sax.SAXException - if an exception occur during processing

endElement

public void endElement(java.lang.String name)
                throws org.xml.sax.SAXException
Receives notification that the end of an XML element of given name has been read in the XML being deserialized

Parameters:
name - the name of the element just ended
Throws:
org.xml.sax.SAXException - if an exception occur during processing

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,
                               java.lang.String uri)
                        throws org.xml.sax.SAXException
Receives notification that an XML prefix has just been defined

Parameters:
prefix - the name of the prefix defined
uri - the uri qualifying the prefix
Throws:
org.xml.sax.SAXException - if an exception occur during processing

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)
                      throws org.xml.sax.SAXException
Receives notification that the scope of an XML prefix has just ended

Parameters:
prefix - the name of the prefix ended
Throws:
org.xml.sax.SAXException - if an exception occur during processing


Copyright © April 2004 INRIA All Rights Reserved.