|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdsto.dfc.databeans.io.XmlDefaultDecoder
public class XmlDefaultDecoder
Default fallback XML decoder which decodes the element forms generated by
XmlDefaultEncoder
.
XmlDefaultEncoder
Constructor Summary | |
---|---|
XmlDefaultDecoder()
|
Method Summary | |
---|---|
Object |
decode(XmlDecodeContext context,
org.jdom.Element element)
Decode an XML representation into a value. |
protected Object |
decodeArray(XmlDecodeContext context,
org.jdom.Element element)
Decode an array. |
protected Object |
decodeArrayChildren(XmlDecodeContext context,
org.jdom.Element element,
Class valueType)
Decode an array encoded using nested child elements. |
protected Object |
decodeArrayValue(XmlDecodeContext context,
org.jdom.Element element,
Class valueType,
String value)
Decode an array encoded as the as a comma-delimited "value" attribute. |
protected Object |
decodeText(XmlDecodeContext context,
org.jdom.Element element)
Decode a text value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlDefaultDecoder()
Method Detail |
---|
public Object decode(XmlDecodeContext context, org.jdom.Element element) throws IllegalArgumentException, ClassNotFoundException
XmlDecoder
decode
in interface XmlDecoder
context
- The decode context.element
- The element to decode.
IllegalArgumentException
- if an error is found in the structure
of the document.
ClassNotFoundException
- if a referenced class cannot be found.protected Object decodeArray(XmlDecodeContext context, org.jdom.Element element) throws ClassNotFoundException, IllegalArgumentException
ClassNotFoundException
IllegalArgumentException
protected Object decodeArrayChildren(XmlDecodeContext context, org.jdom.Element element, Class valueType) throws ClassNotFoundException, IllegalArgumentException
ClassNotFoundException
IllegalArgumentException
protected Object decodeArrayValue(XmlDecodeContext context, org.jdom.Element element, Class valueType, String value)
protected Object decodeText(XmlDecodeContext context, org.jdom.Element element) throws IllegalArgumentException, ClassNotFoundException
IllegalArgumentException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |