org.polliwog.fields
Class W3CRequestLineField

java.lang.Object
  extended by org.polliwog.fields.AbstractField
      extended by org.polliwog.fields.AbstractURIField
          extended by org.polliwog.fields.RequestLineField
              extended by org.polliwog.fields.W3CRequestLineField

public class W3CRequestLineField
extends RequestLineField


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.
 
Fields inherited from class org.polliwog.fields.RequestLineField
method, protocol
 
Fields inherited from class org.polliwog.fields.AbstractURIField
uri
 
Constructor Summary
W3CRequestLineField()
           
 
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 org.polliwog.fields.RequestLineField
getMethod
 
Methods inherited from class org.polliwog.fields.AbstractURIField
getParameters, getPath, getPathExtension, getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_ID

public static final 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.

See Also:
Constant Field Values
Constructor Detail

W3CRequestLineField

public W3CRequestLineField()
Method Detail

clear

public void clear()
Description copied from class: AbstractField
Clear the data that the field holds.

Overrides:
clear in class RequestLineField

init

public void init(java.util.Map params,
                 java.lang.String value)
          throws WeblogException
Description copied from class: AbstractField
The init method.

Overrides:
init in class RequestLineField
Parameters:
params - A Map of name/value pairs that are used to init the field.
value - The value of the field.
Throws:
WeblogException - Throw if something is wrong with the value.

getFieldId

public int getFieldId()
Description copied from class: AbstractField
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.

Overrides:
getFieldId in class RequestLineField
Returns:
A unique id.


  Copyright © 2007 Gary Bentley. All Rights Reserved.