Complex objects are encoded as elements in a document. The value parameter is the encoded element, created by the parent binding. For the first binding in the execution chain this is just an empty element ( no children or attributes ). The binding has the choice to return value or to create a new element to return.
This method may choose to create child elements and attributes for the element. Or as an alternative return the object values for these contructs in {@link #getProperty(Object,QName)}.
@param object The object being encoded. @param document The document containing the encoded element. @param value The object as encoded by the parent binding. @return The element for the objcet being encoded, ornull
|
|