class SocketDescription

Parses the UI Socket Description file and stores all the Elements and makes Socket Document information accessible.

Public Fields

[more]string socketNameAndPath
Returns socket local URI or global URL

Public Methods

[more] SocketDescription(TargetDescription* sheet, IXML_Node* element, ITAListener* taListener)
Constructor.
[more]void parseSocketElement()
Parse the <socket> Node of Target Description file(td).
[more]string getName()
Returns the name of socket
[more]string getSocketId()
Return 'id' attribute of <socket> Element of Target Description file.
[more]string getCreator()
Get the String value of the <creator> Element of Socket Description File(uis)
[more]string getContributor()
Get the String value of the <contributor> Element of Socket Description File(uis)
[more]string getPublisher()
Get the String value of the <publisher> Element of Socket Description File(uis)
[more]string getRights()
Get the String value of the <rights> Element of Socket Description File(uis)
[more]string getConformsTo()
Get the String value of the <conformsTo> Element of Socket Description File(uis)
[more]string getModified()
Get the String value of the <modified> Element of Socket Description File(uis)
[more]bool getHidden()
Get the boolean value of the attribute 'hidden' of the Element <uiSocket> of Socket Description File(uis)
[more]bool isHidden()
Get the boolean value of the attribute 'hidden' of the Element <uiSocket> of Socket Description File(uis)
[more]TargetDescription* getTD()
Returns the target description (TD) Object
[more]SocketElementList* getSocketElements()
Get List of AbstractUISocketElements by parsing Socket Description file(uis) if it is not parsed.
[more]string getSocketFriendlyName()
Get Friendly Name for this Socket('id' attribute of <socket> Element of Target Description file).
[more]string getSocketDescriptionUri()
Return a string value of URI that points to the location of Socket Description File(uis).
[more]list<string> * getDynSocketElementIds()
Get list of Dynamic Socket Element id's.
[more]bool isSocketNameExists(string elementId)
Check whether IUISocketElement specified by 'elementId' exists in this Socket Description or not.


Documentation

Parses the UI Socket Description file and stores all the Elements and makes Socket Document information accessible.

o SocketDescription(TargetDescription* sheet, IXML_Node* element, ITAListener* taListener)
Constructor. Parse the <socket> Node of Target Description file(.td).

Parameters:
td - an Object of TargetDescription
element - an Object of IXML_Node

ovoid parseSocketElement()
Parse the <socket> Node of Target Description file(td).

Parameters:
element - an Object of Element @throws TAException

ostring socketNameAndPath
Returns socket local URI or global URL
Returns:
the socket name and path

ostring getName()
Returns the name of socket
Returns:
the name of socket

ostring getSocketId()
Return 'id' attribute of <socket> Element of Target Description file.

Returns:
a String value of id

ostring getCreator()
Get the String value of the <creator> Element of Socket Description File(uis)

Returns:
a String value of the <creator> Element of Socket Description File(.uis)

ostring getContributor()
Get the String value of the <contributor> Element of Socket Description File(uis)

Returns:
a String value of the <contributor> Element of Socket Description File(.uis)

ostring getPublisher()
Get the String value of the <publisher> Element of Socket Description File(uis)

Returns:
a String value of the <publisher> Element of Socket Description File(.uis)

ostring getRights()
Get the String value of the <rights> Element of Socket Description File(uis)

Returns:
a String value of the <rights> Element of Socket Description File(.uis)

ostring getConformsTo()
Get the String value of the <conformsTo> Element of Socket Description File(uis)

Returns:
a String value of the <conformsTo> Element of Socket Description File(.uis)

ostring getModified()
Get the String value of the <modified> Element of Socket Description File(uis)

Returns:
a String value of the <modified> Element of Socket Description File(.uis)

obool getHidden()
Get the boolean value of the attribute 'hidden' of the Element <uiSocket> of Socket Description File(uis)

Returns:
a boolean value of the attribute 'hidden' of the Element <uiSocket> of Socket Description File(.uis)

obool isHidden()
Get the boolean value of the attribute 'hidden' of the Element <uiSocket> of Socket Description File(uis)

Returns:
a boolean value of the attribute 'hidden' of the Element <uiSocket> of Socket Description File(.uis)

oTargetDescription* getTD()
Returns the target description (TD) Object
Returns:
reference to TargetDescription class

oSocketElementList* getSocketElements()
Get List of AbstractUISocketElements by parsing Socket Description file(uis) if it is not parsed. Else get the clone copy of parsed IUISocketElement List.

Returns:
SocketElementList Struct

ostring getSocketFriendlyName()
Get Friendly Name for this Socket('id' attribute of <socket> Element of Target Description file).

Returns:
a string value of friendly name

ostring getSocketDescriptionUri()
Return a string value of URI that points to the location of Socket Description File(uis).

Returns:
a string value of URI that points to the location of Socket Description File(.uis).

olist<string> * getDynSocketElementIds()
Get list of Dynamic Socket Element id's. In other words get the Id of the Elements which has 'includeRes' attribute value is 'true'.

Returns:
a List<string> for DynSocketElementIds

obool isSocketNameExists(string elementId)
Check whether IUISocketElement specified by 'elementId' exists in this Socket Description or not.

Parameters:
elementId - a string value of elementId
Returns:
whether IUISocketElement specified by 'elementId' exists or not.


This class has no child classes.
Author:
Parikshit Thakur & Team, Trace R&D Center
Version:
Revision: 1.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.