agonism.dovetail.site
Class Value

java.lang.Object
  |
  +--agonism.dovetail.site.DovetailInstance
        |
        +--agonism.dovetail.site.Value
Direct Known Subclasses:
CookieValue, FormValue, LastModifiedIDValue, Link, LiteralValue, ParameterValue, QueryValue, SessionValue

public abstract class Value
extends DovetailInstance


Fields inherited from class agonism.dovetail.site.DovetailInstance
m_context
 
Constructor Summary
protected Value(IRequestContext context, QGBaseIntf peer)
           
 
Method Summary
static java.lang.Object convert(java.lang.Object obj, Type type)
           
static java.lang.Object convert(java.lang.String str, Type type)
           
static java.lang.String format(java.util.Date date)
           
abstract  Type getType()
           
abstract  java.lang.Object getValue()
           
protected static Value parse(IRequestContext context, java.lang.Object obj, java.lang.String name)
           
protected static Type parseType(QType type)
           
 java.lang.String toString()
           
 
Methods inherited from class agonism.dovetail.site.DovetailInstance
findObject, findPageName, getContext, getFactory, getName, getPage, getPeer, getSite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Value

protected Value(IRequestContext context,
                QGBaseIntf peer)
Method Detail

getValue

public abstract java.lang.Object getValue()

getType

public abstract Type getType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

format

public static java.lang.String format(java.util.Date date)

parseType

protected static Type parseType(QType type)

parse

protected static Value parse(IRequestContext context,
                             java.lang.Object obj,
                             java.lang.String name)

convert

public static java.lang.Object convert(java.lang.Object obj,
                                       Type type)

convert

public static java.lang.Object convert(java.lang.String str,
                                       Type type)