|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SerialPropertyPeer
Peer to serialize and deserialize property objects between Java and XML.
Method Summary | |
---|---|
java.lang.Object |
toProperty(Context context,
java.lang.Class objectClass,
org.w3c.dom.Element propertyElement)
Translates an XML representation of a property to a property value object. |
void |
toXml(Context context,
java.lang.Class objectClass,
org.w3c.dom.Element propertyElement,
java.lang.Object propertyValue)
Translates an object to an XML representation of a property. |
Method Detail |
---|
java.lang.Object toProperty(Context context, java.lang.Class objectClass, org.w3c.dom.Element propertyElement) throws SerialException
context
- the relevant Context
objectClass
- the class of the property valuepropertyElement
- the XML <p> element to process
SerialException
- when the property cannot be de-serialized.void toXml(Context context, java.lang.Class objectClass, org.w3c.dom.Element propertyElement, java.lang.Object propertyValue) throws SerialException
context
- the relevant context
objectClass
- the class of the property valuepropertyElement
- the XML <p> element in which the
property value should be renderedpropertyValue
- the property value
SerialException
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |