edu.wisc.trace.urcsdk.client.uisocket.types
Class DateVariable
java.lang.Object
edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement
edu.wisc.trace.urcsdk.client.uisocket.types.UISocketVariable
edu.wisc.trace.urcsdk.client.uisocket.types.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
| Fields inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement |
dependents, id, interactor, listeners, logger, parent, ref, secret, sensitive, session, sessionId, simpleType, socket, socketDependency, supports, timeout, type, value |
|
Method Summary |
DateVariable |
clone()
Describe clone method here. |
java.lang.Object |
validate(java.lang.String value)
Validates the string value as a valid xsd:date String |
| Methods inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement |
checkDependencies, checkDependents, getAccessKey, getDependents, getHelp, getId, getInteractor, getKeywords, getLabel, getParent, getRef, getResource, getSecret, getSession, getSocket, getSocketDependency, getSupports, getType, getValue, getXSDSimpleType, registerDependent, registerSupport, setInteractor, setListener, setParent, setSession, setSessionId, setSocket, setValue, setValueRequest, setXSDSimpleType, toString, updateValue |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DateVariable
public DateVariable()
- Creates a new instance of
DateVariable
DateVariable
public DateVariable(UISocketMirror socket)
- Creates a new instance of
DateVariable
- Parameters:
socket -
DateVariable
public DateVariable(UISocketDocument parent,
UISocketMirror socket,
org.w3c.dom.Element rootElement)
throws UrcException
- Creates a new instance of
DateVariable
- Parameters:
parent - socket - rootElement -
- Throws:
UrcException
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)
- Validates the string value as a valid xsd:date String
- Overrides:
validate in class UISocketVariable
- Parameters:
value -
- Returns:
- boolean true if valid else false
Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.