public class DefaultValueSerializer extends java.lang.Object implements ValueSerializer
Serializable interface and uses object streams to store
and load attribute values.ObjectInputStream,
ObjectOutputStream| Constructor and Description |
|---|
DefaultValueSerializer() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Node |
getXMLContentNode(org.w3c.dom.Document xmlDoc,
java.lang.Object attrValue)
Creates an XML node in the given XML document for the given attribute
value.
|
java.lang.Object |
getXMLContentValue(org.w3c.dom.Node attrNode)
Creates an attribute value by reading the XML data out of the given XML
node.
|
public org.w3c.dom.Node getXMLContentNode(org.w3c.dom.Document xmlDoc,
java.lang.Object attrValue)
ValueSerializergetXMLContentNode in interface ValueSerializerxmlDoc - the XML document in which the node should be createdattrValue - the attribute value to be serializedValueSerializer.getXMLContentValue(Node)public java.lang.Object getXMLContentValue(org.w3c.dom.Node attrNode)
ValueSerializergetXMLContentValue in interface ValueSerializerattrNode - an XML node containing the serialized attribute valueValueSerializer.getXMLContentNode(Document, Object)