|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.polliwog.fields.AbstractField
org.polliwog.fields.UserField
public class UserField
| Field Summary | |
|---|---|
static int |
FIELD_ID
This is a unique constant for this field, it MUST NOT clash with any other field constant value otherwise incorrect casting may result. |
| Constructor Summary | |
|---|---|
UserField()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear the data that the field holds. |
int |
getFieldId()
Should return a unique id for this field, this is to help with classes (such as: Hit)
that use this id to help in identification. |
void |
init(java.util.Map params,
java.lang.String value)
The init method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FIELD_ID
| Constructor Detail |
|---|
public UserField()
| Method Detail |
|---|
public void init(java.util.Map params,
java.lang.String value)
throws WeblogException
AbstractField
init in class AbstractFieldparams - A Map of name/value pairs that are used to init the field.value - The value of the field.
WeblogException - Throw if something is wrong with the value.public void clear()
AbstractField
clear in class AbstractFieldpublic int getFieldId()
AbstractFieldHit)
that use this id to help in identification.
getFieldId in class AbstractField
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||