|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.xml.handler.BasicUnmarshaller
Receives SAX event and pass them on
Field Summary | |
protected boolean |
isResultValid
|
protected java.lang.Object |
resultObject
|
Fields inherited from interface org.objectweb.proactive.core.xml.handler.UnmarshallerHandler |
logger |
Constructor Summary | |
BasicUnmarshaller()
|
Method Summary | |
protected boolean |
checkNonEmpty(java.lang.String s)
|
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 |
java.lang.Object |
getResultObject()
Returns the object resulting of the processing of the SAX events. |
void |
readValue(java.lang.String value)
Receives notification that an XML value has been read in the XML being deserialized |
protected void |
setResultObject(java.lang.Object value)
|
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 |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Receives notification that an XML prefix has just been defined |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Object resultObject
protected boolean isResultValid
Constructor Detail |
public BasicUnmarshaller()
Method Detail |
public java.lang.Object getResultObject() throws org.xml.sax.SAXException
UnmarshallerHandler
getResultObject
in interface UnmarshallerHandler
org.xml.sax.SAXException
- if the state of the handler does not allow to
return any resulting object.public void startContextElement(java.lang.String name, Attributes attributes) throws org.xml.sax.SAXException
UnmarshallerHandler
startContextElement
in interface UnmarshallerHandler
name
- the name of the element just openedattributes
- the attributes of this element
org.xml.sax.SAXException
- if an exception occur during processingpublic void startElement(java.lang.String name, Attributes attributes) throws org.xml.sax.SAXException
XMLHandler
startElement
in interface XMLHandler
name
- the name of the element just openedattributes
- the attributes of this element
org.xml.sax.SAXException
- if an exception occur during processingpublic void endElement(java.lang.String name) throws org.xml.sax.SAXException
XMLHandler
endElement
in interface XMLHandler
name
- the name of the element just ended
org.xml.sax.SAXException
- if an exception occur during processingpublic void readValue(java.lang.String value) throws org.xml.sax.SAXException
XMLHandler
readValue
in interface XMLHandler
value
- the value just read
org.xml.sax.SAXException
- if an exception occur during processingpublic void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
XMLHandler
startPrefixMapping
in interface XMLHandler
prefix
- the name of the prefix defineduri
- the uri qualifying the prefix
org.xml.sax.SAXException
- if an exception occur during processingpublic void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException
XMLHandler
endPrefixMapping
in interface XMLHandler
prefix
- the name of the prefix ended
org.xml.sax.SAXException
- if an exception occur during processingprotected void setResultObject(java.lang.Object value)
protected boolean checkNonEmpty(java.lang.String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |