edu.wisc.trace.urcsdk.target.uisocket
Class DateTimeConstant
java.lang.Object
edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement
edu.wisc.trace.urcsdk.target.uisocket.UISocketConstant
edu.wisc.trace.urcsdk.target.uisocket.DateTimeConstant
- All Implemented Interfaces:
- IUISocketElement, java.lang.Cloneable
public class DateTimeConstant
- extends UISocketConstant
DateTimeConstant is a variant of UISocketConstant that
deals specifically with date and time. It has special handling
to parse strings determined to be time strings.
It serves as the SDK implementation of the xsd:dateTime 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.target.uisocket.AbstractUISocketElement |
id, logger, ref, secret, sensitive, session, socket, socketDocument, timeout, type, value |
| Methods inherited from class edu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement |
getId, getRef, getSession, getSocket, getSocketDocument, getType, getValue, setSession, setSocket, setSocketDocument, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DateTimeConstant
public DateTimeConstant()
- Creates a new instance of
DateTimeConstant
DateTimeConstant
public DateTimeConstant(UISocket socket)
- Creates a new instance of
DateTimeConstant
- Parameters:
socket -
DateTimeConstant
public DateTimeConstant(UISocketDocument parent,
UISocket socket,
org.w3c.dom.Element rootElement)
throws UrcException
- Creates a new instance of
DateTimeConstant
- Parameters:
parent - socket - rootElement -
- Throws:
UrcException
clone
public DateTimeConstant clone()
- Describe
clone method here.
- Specified by:
clone in interface IUISocketElement- Overrides:
clone in class UISocketConstant
- Returns:
- a
DateTimeConstant value
validate
public java.lang.Object validate(java.lang.String value)
- Overrides:
validate in class UISocketConstant
Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.