edu.wisc.trace.urcsdk.target.uisocket
Class DateVariable

java.lang.Object
  extended by edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement
      extended by edu.wisc.trace.urcsdk.target.uisocket.UISocketVariable
          extended by edu.wisc.trace.urcsdk.target.uisocket.DateVariable
All Implemented Interfaces:
IUISocketElement, java.lang.Cloneable

public class DateVariable
extends UISocketVariable

DateVariable is a variant of UISocketVariable that deals specifically with date. It has special handling to parse strings determined to be time strings. It serves as the SDK implementation of the xsd:date type. Created on: May 25 2006

Version:
$Revision: 1.7 $
Author:
Hemanth Vijayan, Trace R&D Center

Field Summary
 
Fields inherited from class edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement
id, logger, ref, secret, sensitive, session, socket, socketDocument, timeout, type, value
 
Constructor Summary
DateVariable()
          Creates a new instance of DateVariable
DateVariable(UISocket socket)
          Creates a new instance of DateVariable
DateVariable(UISocketDocument parent, UISocket socket, org.w3c.dom.Element rootElement)
          Creates a new instance of DateVariable
 
Method Summary
 DateVariable clone()
          Describe clone method here.
 java.lang.Object validate(java.lang.String value)
           
 
Methods inherited from class edu.wisc.trace.urcsdk.target.uisocket.UISocketVariable
addDynamicValues, getDynamicRefVars, getStaticMap, hasSelection, isWritable, parse
 
Methods inherited from class edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement
getId, getRef, getSession, getSocket, getSocketDocument, getType, getValue, internalSetValue, setSession, setSocket, setSocketDocument, setValue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateVariable

public DateVariable()
Creates a new instance of DateVariable


DateVariable

public DateVariable(UISocket socket)
Creates a new instance of DateVariable

Parameters:
socket -

DateVariable

public DateVariable(UISocketDocument parent,
                    UISocket socket,
                    org.w3c.dom.Element rootElement)
             throws UrcException
Creates a new instance of DateVariable

Parameters:
parent -
socket -
rootElement -
Throws:
UrcException
Method Detail

clone

public DateVariable clone()
Describe clone method here.

Specified by:
clone in interface IUISocketElement
Overrides:
clone in class UISocketVariable
Returns:
a DateVariable value

validate

public java.lang.Object validate(java.lang.String value)
Overrides:
validate in class UISocketVariable


Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.