|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.target.uisocket.AbstractUISocketElement
public abstract class AbstractUISocketElement
AbstractUISocketElement is the abstract representation of a UI Socket Element. All other forms of
socket element extend this class (Target version).
| Field Summary | |
|---|---|
protected java.lang.String |
id
|
protected java.util.logging.Logger |
logger
|
protected java.lang.String |
ref
|
protected boolean |
secret
|
protected boolean |
sensitive
|
protected TargetSession |
session
|
protected UISocket |
socket
|
protected UISocketDocument |
socketDocument
|
protected boolean |
timeout
|
protected java.lang.String |
type
|
protected java.lang.Object |
value
|
| Constructor Summary | |
|---|---|
AbstractUISocketElement()
Creates a new AbstractUISocketElement instance. |
|
AbstractUISocketElement(UISocket socket)
Creates a new AbstractUISocketElement instance. |
|
AbstractUISocketElement(UISocketDocument parent,
UISocket socket,
org.w3c.dom.Element rootElement)
Creates a new AbstractUISocketElement instance. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returnes a copy of the object |
java.lang.String |
getId()
Returns the Id of the UISocketElement |
java.lang.String |
getRef()
Returns the Ref of this element. |
TargetSession |
getSession()
Get the TargetSession for this IUISocketElement |
UISocket |
getSocket()
Returns the UISocket object associated with this element. |
UISocketDocument |
getSocketDocument()
Returns the parent UISocketDocument of this element |
java.lang.String |
getType()
Returns the type of this element. |
java.lang.Object |
getValue()
Returns the current value of this element. |
boolean |
internalSetValue(java.lang.Object value)
Sets this element's current value and update the Client |
boolean |
isWritable()
Returns true if this element is writable. |
void |
parse(org.w3c.dom.Element rootElement)
Parses the given element for the data required to create a |
void |
setSession(TargetSession sess)
Sets the TargetSession for this IUISocketElement |
void |
setSocket(UISocket socket)
Sets the UISocket associated with this element. |
void |
setSocketDocument(UISocketDocument socketDocument)
Sets the UISocketDocument associated with this element. |
boolean |
setValue(java.lang.Object value)
Sets this element's current value and update the Client |
java.lang.String |
toString()
Returns a String representation of this object. |
abstract java.lang.Object |
validate(java.lang.String value)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String id
protected java.util.logging.Logger logger
protected UISocketDocument socketDocument
protected java.lang.String ref
protected boolean secret
protected boolean sensitive
protected UISocket socket
protected boolean timeout
protected java.lang.String type
protected java.lang.Object value
protected TargetSession session
| Constructor Detail |
|---|
public AbstractUISocketElement()
AbstractUISocketElement instance.
public AbstractUISocketElement(UISocket socket)
AbstractUISocketElement instance.
socket - the parent UISocket
public AbstractUISocketElement(UISocketDocument parent,
UISocket socket,
org.w3c.dom.Element rootElement)
throws UrcException
AbstractUISocketElement instance.
parent - an UISocketDocument valuesocket - an UISocket valuerootElement - an Element value
UrcException - if an error occurs| Method Detail |
|---|
public java.lang.Object clone()
clone in interface IUISocketElementclone in class java.lang.ObjectObject valuepublic java.lang.String getId()
UISocketElement
getId in interface IUISocketElementString valuepublic UISocketDocument getSocketDocument()
UISocketDocument of this element
UISocketDocument valuepublic abstract java.lang.Object validate(java.lang.String value)
public java.lang.String getRef()
String valuepublic UISocket getSocket()
UISocket object associated with this element.
UISocket valuepublic java.lang.String getType()
getType in interface IUISocketElementString valuepublic java.lang.Object getValue()
getValue in interface IUISocketElementObject valuepublic boolean isWritable()
isWritable in interface IUISocketElementboolean value
public void parse(org.w3c.dom.Element rootElement)
throws UrcException
parse in interface IUISocketElementrootElement - the Element object to parse
UrcException - if an error occurspublic void setSocketDocument(UISocketDocument socketDocument)
UISocketDocument associated with this element.
socketDocument - the new UISocketDocument objectpublic void setSocket(UISocket socket)
UISocket associated with this element.
socket - the new UISocket object
public boolean setValue(java.lang.Object value)
throws UrcException
value - the new value
UrcException
public boolean internalSetValue(java.lang.Object value)
throws UrcException
value - the new value
UrcExceptionpublic void setSession(TargetSession sess)
sess - a TargetSessionpublic TargetSession getSession()
TargetSessionpublic java.lang.String toString()
String representation of this object.
toString in interface IUISocketElementtoString in class java.lang.ObjectString value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||