class TargetDescription

Parses the Target Description file and provides access to the components contained within.

Public Methods

[more] TargetDescription(ITAListener* taListener, string tdURI)
Constructor.
[more] TargetDescription(ITAListener* taListener, map<string, string>* tdProp)
Constructor.
[more]list<SocketDescription*> getSockets()
Get the sockets of this Target.
[more]void parse()
Parse the Target Description file(td).
[more]bool isHidden()
Get the String value of the <hidden> Element of Target Description File(td)
[more]string getConformsTo()
Get the String value of the <conformsTo> Element of Target Description File(td)
[more]string getCreated()
Get the String value of the <created> Element of Target Description File(td)
[more]string getCreator()
Get the String value of the <creator> Element of Target Description File(td)
[more]string getModified()
Get the String value of the <modified> Element of Target Description File(td)
[more] TargetDescription()
Constructor.
[more]string getTargetName()
Get String value of TargetName('about' attribute of <target> Element).
[more]list<string> * getSocketNames()
Return List of Socket Names available in this Target Description.
[more]SocketElementList* getSocketElements(string socketName)
Return List<IUISocketElement> of IUISocketElement of the Socket specified by 'socketName'.
[more]string getSocketFriendlyName(string socketName)
Get Friendly Name of the Socket specified by 'socketName'.
[more]string getSocketDescriptionUri(string socketName)
Get a String value of URI that points to the location of Socket Description File(uis) of the Socket specified by 'socketName'.
[more]string getTargetDescriptionUri()
a String value of URI that points to the location of Target Description File(td).
[more]string getSocketName(string socketId)
Get Socket Name for the SocketId specified 'socketId'.
[more]list<string> * getDynSocketElementIds(string socketName)
Return List<String> of those ElementIds who have dynamic value.
[more]bool isElementAvailable(string socketName, string eltId)
Check whether IUISocketElement specified by 'eltId' is Available in the Socket specified by 'socketName' or not.
[more]string getSocketId(string socketName)
Get a String value of SocketId of the Socket specified 'socketName'.


Documentation

Parses the Target Description file and provides access to the components contained within.

o TargetDescription(ITAListener* taListener, string tdURI)
Constructor. Parse the Target Description File(.td) and Store its Elements and attributes of that Element.

Parameters:
- ITAListener object
tdUri - URI value of tdUri @throws TAException

o TargetDescription(ITAListener* taListener, map<string, string>* tdProp)
Constructor. Download Target Description File(.td) from Resource Server using taProps, parse it and Store its Elements and attributes of that Element.

Parameters:
taListener - an Object of ITAListener
tdProps - an Object of Map&lt;String, String&gt; of Target Description File Properties @throws TAException

olist<SocketDescription*> getSockets()
Get the sockets of this Target.

Returns:
a List<SocketDescription> of Sockets

ovoid parse()
Parse the Target Description file(td).

obool isHidden()
Get the String value of the <hidden> Element of Target Description File(td)

Returns:
a String value of the <hidden> Element of Target Description File(.td)

ostring getConformsTo()
Get the String value of the <conformsTo> Element of Target Description File(td)

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

ostring getCreated()
Get the String value of the <created> Element of Target Description File(td)

Returns:
a String value of the <created> Element of Target Description File(.td)

ostring getCreator()
Get the String value of the <creator> Element of Target Description File(td)

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

ostring getModified()
Get the String value of the <modified> Element of Target Description File(td)

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

o TargetDescription()
Constructor. Parse the Target Description File(.td) and Store its Elements and attributes of that Element.

ostring getTargetName()
Get String value of TargetName('about' attribute of <target> Element).

Returns:
a String value of Target Name

olist<string> * getSocketNames()
Return List of Socket Names available in this Target Description.

Returns:
List<String> value of Socket Names

oSocketElementList* getSocketElements(string socketName)
Return List<IUISocketElement> of IUISocketElement of the Socket specified by 'socketName'.

Parameters:
socketName - a String value of socketName
Returns:
SocketElementList Struct

ostring getSocketFriendlyName(string socketName)
Get Friendly Name of the Socket specified by 'socketName'.

Parameters:
socketName - a String value of socketName
Returns:
a String value of Socket Friendly Name

ostring getSocketDescriptionUri(string socketName)
Get a String value of URI that points to the location of Socket Description File(uis) of the Socket specified by 'socketName'.

Parameters:
socketName - a String value of socketName
Returns:
a String value of URI that points to the location of Socket Description File(.uis).

ostring getTargetDescriptionUri()
a String value of URI that points to the location of Target Description File(td).

Returns:
URI that points to the location of Target Description File(.td).

ostring getSocketName(string socketId)
Get Socket Name for the SocketId specified 'socketId'.

Parameters:
socketId - a String value of socketId
Returns:
a String value of Socket Name

olist<string> * getDynSocketElementIds(string socketName)
Return List<String> of those ElementIds who have dynamic value.

Parameters:
socketName - a String value of Socket Name
Returns:
a List<String> of SocketElement's ElementId

obool isElementAvailable(string socketName, string eltId)
Check whether IUISocketElement specified by 'eltId' is Available in the Socket specified by 'socketName' or not.

Parameters:
socketName - a String value of Socket Name
eltId - a String value of eltId
Returns:
whether Element is Available or not

ostring getSocketId(string socketName)
Get a String value of SocketId of the Socket specified 'socketName'.

Parameters:
socketName - a String value of socketName
Returns:
a String value of Socket Id


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++.