com.arsdigita.globalization
Class AcceptField

java.lang.Object
  extended bycom.arsdigita.globalization.AcceptField
All Implemented Interfaces:
Comparable
Direct Known Subclasses:
AcceptCharset, AcceptLanguage

public class AcceptField
extends Object
implements Comparable

Abstract class that represents a generic Accept HTTP header field.

Version:
$Revision: #7 $ $Date: 2004/04/07 $

Field Summary
protected static int DEFAULT_Q_VALUE
           
protected  double m_qvalue
           
static String versionId
           
 
Constructor Summary
AcceptField()
           
 
Method Summary
 int compareTo(Object o)
           
 double getQValue()
           
protected  void setQValue(double q)
           
protected  void setQValue(String q)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values

DEFAULT_Q_VALUE

protected static final int DEFAULT_Q_VALUE
See Also:
Constant Field Values

m_qvalue

protected double m_qvalue
Constructor Detail

AcceptField

public AcceptField()
Method Detail

getQValue

public double getQValue()

setQValue

protected void setQValue(String q)

setQValue

protected void setQValue(double q)

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC