|
|||||||||||
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.AbstractUnmarshallerDecorator
Receives SAX event and pass them on
Field Summary |
Fields inherited from interface org.objectweb.proactive.core.xml.handler.UnmarshallerHandler |
logger |
Constructor Summary | |
AbstractUnmarshallerDecorator()
|
|
AbstractUnmarshallerDecorator(boolean lenient)
|
Method Summary | |
void |
addHandler(java.lang.String elementName,
UnmarshallerHandler handler)
|
protected void |
checkActiveHandler()
|
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 |
protected UnmarshallerHandler |
getHandler(java.lang.String elementName)
|
protected abstract void |
notifyEndActiveHandler(java.lang.String name,
UnmarshallerHandler activeHandler)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.xml.handler.UnmarshallerHandler |
getResultObject, startContextElement |
Constructor Detail |
public AbstractUnmarshallerDecorator(boolean lenient)
public AbstractUnmarshallerDecorator()
Method Detail |
public void addHandler(java.lang.String elementName, UnmarshallerHandler handler)
public 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 checkActiveHandler() throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected abstract void notifyEndActiveHandler(java.lang.String name, UnmarshallerHandler activeHandler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected boolean checkNonEmpty(java.lang.String s)
protected UnmarshallerHandler getHandler(java.lang.String elementName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |