| java.lang.Object org.objectweb.jonas.webapp.jonasadmin.xml.XMLToFormUtil
XMLToFormUtil | public class XMLToFormUtil (Code) | | Convert a DOM tree into an HTML form for display to the user.
author: Gregory Lapouchnina author: Patrick Smith |
Constructor Summary | |
public | XMLToFormUtil() Create a new XMLToFormUtil with the current ID being 0. |
Method Summary | |
public String | documentToForm(Document doc, Map mapping) Convert a DOM tree into a form to use on the configuration page.
Parameters: doc - the document to display Parameters: mapping - Map that will store the relationship between IDs (which arealso the IDs of input fields) nodes in the tree. | public int | getLastId() The last ID used when building the form. |
XMLToFormUtil | public XMLToFormUtil()(Code) | | Create a new XMLToFormUtil with the current ID being 0.
|
documentToForm | public String documentToForm(Document doc, Map mapping)(Code) | | Convert a DOM tree into a form to use on the configuration page.
Parameters: doc - the document to display Parameters: mapping - Map that will store the relationship between IDs (which arealso the IDs of input fields) nodes in the tree. a string containing the HTML for the form |
getLastId | public int getLastId()(Code) | | The last ID used when building the form.
last ID used to build the form |
|
|