Parse and Store <AResDesc> element of ResourceSheet.
Public Methods
-
AResourceDescription(string AResDesc, map<string, string>* resPropMap, string relativePathURI)
- Parse the <AResDesc> Node of Resource Sheet and Stores attributes and childNodes Values.
-
bool propMatched(map<string, string>* resProps)
- Check whether all the properties are matched and if matches returns true else returns false.
-
list<string> * getEltRefList()
- Return List of Element Reference(eltRef).
-
string getAbout()
- Return value of 'about' Attribute of Resource Sheet.
-
string getContent()
- Return value of 'content' Attribute of Resource Sheet.
-
string getContentAt()
- Return value of 'contentAt' Attribute of Resource Sheet.
-
list<ResourceContext*> getContextList()
- Return List of <Context> Child Nodes of <AResDesc> Node of Resource Sheet.
-
bool hasReplaces(string replaces)
- Check whether hasReplaces exists or not.
-
bool hasIsReplacedBy(string isReplacedBy)
- Check whether IsReplacedBy exists or not.
-
bool hasVersion(string hasVersion)
- Check whether Version exists or not.
-
bool hasAudience(string audience)
- Check whether Audience exists or not.
-
bool hasRights(string rights)
- Check whether Rights exists or not.
-
bool hasDate(string date)
- Check whether Date exists or not.
-
bool hasContributor(string contributor)
- Check whether Contributor exists or not.
-
bool hasPublisher(string publisher)
- Check whether publisher exists or not.
-
bool hasCreator(string creator)
- Check whether Creator exist or not.
-
bool hasIsVersionOf(string isVersionOf)
- Check whether IsVersionOf exists or not.
-
void clearCache()
- Delete all 'ResourceContext' class in contextList
Documentation
Parse and Store <AResDesc> element of ResourceSheet.
Also store value of Inherited Properties from Resource Sheet.
Provide methods to retrieve and match its properties.
AResourceDescription(string AResDesc, map<string, string>* resPropMap, string relativePathURI)
-
Parse the <AResDesc> Node of Resource Sheet and Stores attributes and childNodes Values.
- Parameters:
- element - an Object of Element
resPropMap - a Map<String, String> of Resource Properties inherited outside of <AResDesc> Node of Resource Sheet.
relativePathURI - a String Value of relativePathURI;
bool propMatched(map<string, string>* resProps)
-
Check whether all the properties are matched and if matches returns true else returns false.
- Parameters:
- resProps - a Map<String, String> of Resource Properties
- Returns:
- whether all the properties match or not
list<string> * getEltRefList()
-
Return List of Element Reference(eltRef).
- Returns:
- a List<String> of 'eltRef'.
string getAbout()
-
Return value of 'about' Attribute of Resource Sheet.
- Returns:
- a String representing value of 'about'
string getContent()
-
Return value of 'content' Attribute of Resource Sheet.
- Returns:
- a String representing value of 'content'
string getContentAt()
-
Return value of 'contentAt' Attribute of Resource Sheet.
- Returns:
- a String representing value of 'contentAt'
list<ResourceContext*> getContextList()
-
Return List of <Context> Child Nodes of <AResDesc> Node of Resource Sheet.
- Returns:
- a List<ResourceContext> representing <Context> Child Nodes of <AResDesc>
bool hasReplaces(string replaces)
-
Check whether hasReplaces exists or not.
- Parameters:
- replaces - a String value of replaces
- Returns:
- whether hasReplaces exists or not
bool hasIsReplacedBy(string isReplacedBy)
-
Check whether IsReplacedBy exists or not.
- Parameters:
- isReplacedBy - a String value of isReplacedBy
- Returns:
- whether IsReplacedBy exists or not
bool hasVersion(string hasVersion)
-
Check whether Version exists or not.
- Parameters:
- - hasVersion a String value of hasVersion
- Returns:
- whether Version exists or not
bool hasAudience(string audience)
-
Check whether Audience exists or not.
- Parameters:
- audience - a String value of audience
- Returns:
- whether Audience exists or not
bool hasRights(string rights)
-
Check whether Rights exists or not.
- Parameters:
- rights - a String value of rights
- Returns:
- whether Rights exists or not
bool hasDate(string date)
-
Check whether Date exists or not.
- Parameters:
- date - a String value of date
- Returns:
- whether Date exists or not
bool hasContributor(string contributor)
-
Check whether Contributor exists or not.
- Parameters:
- contributor - a String value of contributor
- Returns:
- whether Contributor exists or not
bool hasPublisher(string publisher)
-
Check whether publisher exists or not.
- Parameters:
- publisher - a String value of publisher
- Returns:
- boolean
bool hasCreator(string creator)
-
Check whether Creator exist or not.
- Parameters:
- creator - a String value of creator
- Returns:
- whether Creator exists or not.
bool hasIsVersionOf(string isVersionOf)
-
Check whether IsVersionOf exists or not.
- Parameters:
- isVersionOf - a String value of isVersionOf
- Returns:
- whether IsVersionOf exists or not
void clearCache()
-
Delete all 'ResourceContext' class in contextList
- 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++.