com.jsftoolkit.utils.serial.DomSerializer Maven / Gradle / Ivy
Go to download
The core classes for the JSF Toolkit Component Framework. Includes all
framework base and utility classes as well as component
kick-start/code-generation and registration tools.
Also includes some classes for testing that are reused in other projects.
They cannot be factored out into a separate project because they are
referenced by the tests and they reference this code (circular
dependence).
The newest version!
package com.jsftoolkit.utils.serial;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
/**
* Converts objects of a particular class to DOM Nodes.
*
* @author noah
*
* @param
*/
public interface DomSerializer {
/**
* Implementations only need to convert the immediate object, obj. Nested
* elements may be passed on to manager.
*
* @param obj
* @param doc
* the document the new node should belong to
* @param manager
* @return
*/
Node toDom(T obj, Document doc, DomSerializerManager manager);
}