|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.polliwog.fields.AbstractField
org.polliwog.fields.HostnameField
public class HostnameField
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 | |
---|---|
HostnameField()
|
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. |
java.lang.String |
getHostname()
|
void |
init(java.util.Map params,
java.lang.String value)
The init method. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FIELD_ID
Constructor Detail |
---|
public HostnameField()
Method Detail |
---|
public void clear()
AbstractField
clear
in class AbstractField
public java.lang.String getHostname()
public java.lang.String toString()
toString
in class java.lang.Object
public void init(java.util.Map params, java.lang.String value) throws WeblogException
AbstractField
init
in class AbstractField
params
- 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 int getFieldId()
AbstractField
Hit
)
that use this id to help in identification.
getFieldId
in class AbstractField
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |