|
|||||||||
| Home >> All >> com >> eireneh >> config >> [ servlet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.config.servlet
Class FieldMap

java.lang.Objectcom.eireneh.config.servlet.FieldMap
- public class FieldMap
- extends java.lang.Object
This class provides mapping between Choice types and Fields. There is an argument that this class should be a properties file however the practical advantages of compile time type-checking and make simplicity, overweigh the possible re-use gains of a properties file.
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
| Nested Class Summary | |
static class |
FieldMap.ActionField
A Field is an HTML representation of a Choice. |
static class |
FieldMap.BooleanField
A Field is an HTML representation of a Choice. |
static class |
FieldMap.ColorField
A Field is an HTML representation of a Choice. |
static class |
FieldMap.Field
A Field is an HTML representation of a Choice. |
static class |
FieldMap.FileField
A Field is an HTML representation of a Choice. |
static class |
FieldMap.NumberField
A Field is an HTML representation of a Choice. |
static class |
FieldMap.OptionsField
A Field is an HTML representation of a Choice. |
static class |
FieldMap.PasswordField
A Field is an HTML representation of a Choice. |
static class |
FieldMap.TextField
A Field is an HTML representation of a Choice. |
| Field Summary | |
private static java.util.Hashtable |
hash
The configuration table |
protected static com.eireneh.util.Logger |
log
The log stream |
| Constructor Summary | |
FieldMap()
|
|
| Method Summary | |
static java.util.Hashtable |
getHashtable()
We configure the FieldMap by access to the Hashtable that holds the string/Field mapping. |
static org.w3c.dom.Element |
getHTMLElement(org.w3c.dom.Document doc,
java.lang.String key,
com.eireneh.config.Choice choice,
java.lang.String value)
Custom code for each of the types |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
hash
private static java.util.Hashtable hash
- The configuration table
log
protected static com.eireneh.util.Logger log
- The log stream
| Constructor Detail |
FieldMap
public FieldMap()
| Method Detail |
getHTMLElement
public static org.w3c.dom.Element getHTMLElement(org.w3c.dom.Document doc, java.lang.String key, com.eireneh.config.Choice choice, java.lang.String value)
- Custom code for each of the types
getHashtable
public static java.util.Hashtable getHashtable()
- We configure the FieldMap by access to the Hashtable that holds
the string/Field mapping.
|
|||||||||
| Home >> All >> com >> eireneh >> config >> [ servlet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.eireneh.config.servlet.FieldMap