class ResourceContext

Parse and Store childNodes and attributes of <Context> Element of <AResDesc> Element of ResourceSheet and provide methods to retrieve its properties.

Public Methods

[more] ResourceContext(IXML_Node*element, string forLang)
Parse <Context> Element of <AResDesc> Element of ResourceSheet.
[more]bool propMatched(string eltRef, string valRef, string opRef, string role, string forLang, string forTargetInstance)
Compare the properties of <context> Element.
[more]string getEltRef()
Return String value of Element Reference(eltRef).
[more]string getRole()
Return String value of role.
[more]list<string> * getValRefList()
Return List<String> of Value Reference(valRef).
[more]list<string> * getOpRefList()
Return List<String> of Operation Reference(opRef).
[more]string getForLang()
Return String value of forLang.
[more]void clearCache()
Delete all private member for freeing the memory


Documentation

Parse and Store childNodes and attributes of <Context> Element of <AResDesc> Element of ResourceSheet and provide methods to retrieve its properties. Also provide methods to retrieve and match its Properties.

o ResourceContext(IXML_Node*element, string forLang)
Parse <Context> Element of <AResDesc> Element of ResourceSheet.

Parameters:
element - an Object of Element
forLang - a String value of forLang

obool propMatched(string eltRef, string valRef, string opRef, string role, string forLang, string forTargetInstance)
Compare the properties of <context> Element. If matched return true else return false.

Parameters:
eltRef - a String value of eltRef
valRef - a String value of valRef
opRef - a String value of opRef
role - a String value of role
forLang - a String value of forLang
Returns:
true if properties matched else false

ostring getEltRef()
Return String value of Element Reference(eltRef).

Returns:
a String value of Element Reference(eltRef)

ostring getRole()
Return String value of role.

Returns:
a String value of role

olist<string> * getValRefList()
Return List<String> of Value Reference(valRef).

Returns:
a List<String> of Value Reference(valRef)

olist<string> * getOpRefList()
Return List<String> of Operation Reference(opRef).

Returns:
a List<String> of Operation Reference(opRef)

ostring getForLang()
Return String value of forLang.

Returns:
a String value of forLang

ovoid clearCache()
Delete all private member for freeing the memory


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