Parse and Store childNodes and attributes of <Context> Element of <AResDesc> Element of ResourceSheet and provide methods to retrieve its properties.
Public Methods
-
ResourceContext(IXML_Node*element, string forLang)
- Parse <Context> Element of <AResDesc> Element of ResourceSheet.
-
bool propMatched(string eltRef, string valRef, string opRef, string role, string forLang, string forTargetInstance)
- Compare the properties of <context> Element.
-
string getEltRef()
- Return String value of Element Reference(eltRef).
-
string getRole()
- Return String value of role.
-
list<string> * getValRefList()
- Return List<String> of Value Reference(valRef).
-
list<string> * getOpRefList()
- Return List<String> of Operation Reference(opRef).
-
string getForLang()
- Return String value of forLang.
-
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.
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
bool 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
string getEltRef()
-
Return String value of Element Reference(eltRef).
- Returns:
- a String value of Element Reference(eltRef)
string getRole()
-
Return String value of role.
- Returns:
- a String value of role
list<string> * getValRefList()
-
Return List<String> of Value Reference(valRef).
- Returns:
- a List<String> of Value Reference(valRef)
list<string> * getOpRefList()
-
Return List<String> of Operation Reference(opRef).
- Returns:
- a List<String> of Operation Reference(opRef)
string getForLang()
-
Return String value of forLang.
- Returns:
- a String value of forLang
void 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++.