|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueSerializer
Interface that can be optionally implemented to serialize and deserialize attribute values. ValueSerializers are responsible for writing the attribute value into an XML node and restoring the attribute value from the XML node.
Classes that implement this interface must have an accessible no-arg constructor.
AttributeDefImpl.setSerializerClassName(String)
,
Variable.setSerializerClassName(String)
Method Summary | |
---|---|
Node |
getXMLContentNode(Document xmlDoc,
java.lang.Object attrValue)
Creates an XML node in the given XML document for the given attribute value. |
java.lang.Object |
getXMLContentValue(Node attrNode)
Creates an attribute value by reading the XML data out of the given XML node. |
Method Detail |
---|
Node getXMLContentNode(Document xmlDoc, java.lang.Object attrValue)
xmlDoc
- the XML document in which the node should be createdattrValue
- the attribute value to be serialized
getXMLContentValue(Node)
java.lang.Object getXMLContentValue(Node attrNode)
attrNode
- an XML node containing the serialized attribute value
getXMLContentNode(Document, Object)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |