class AResourceDescription

Parse and Store <AResDesc> element of ResourceSheet.

Public Methods

[more] AResourceDescription(string AResDesc, map<string, string>* resPropMap, string relativePathURI)
Parse the <AResDesc> Node of Resource Sheet and Stores attributes and childNodes Values.
[more]bool propMatched(map<string, string>* resProps)
Check whether all the properties are matched and if matches returns true else returns false.
[more]list<string> * getEltRefList()
Return List of Element Reference(eltRef).
[more]string getAbout()
Return value of 'about' Attribute of Resource Sheet.
[more]string getContent()
Return value of 'content' Attribute of Resource Sheet.
[more]string getContentAt()
Return value of 'contentAt' Attribute of Resource Sheet.
[more]list<ResourceContext*> getContextList()
Return List of <Context> Child Nodes of <AResDesc> Node of Resource Sheet.
[more]bool hasReplaces(string replaces)
Check whether hasReplaces exists or not.
[more]bool hasIsReplacedBy(string isReplacedBy)
Check whether IsReplacedBy exists or not.
[more]bool hasVersion(string hasVersion)
Check whether Version exists or not.
[more]bool hasAudience(string audience)
Check whether Audience exists or not.
[more]bool hasRights(string rights)
Check whether Rights exists or not.
[more]bool hasDate(string date)
Check whether Date exists or not.
[more]bool hasContributor(string contributor)
Check whether Contributor exists or not.
[more]bool hasPublisher(string publisher)
Check whether publisher exists or not.
[more]bool hasCreator(string creator)
Check whether Creator exist or not.
[more]bool hasIsVersionOf(string isVersionOf)
Check whether IsVersionOf exists or not.
[more]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.

o 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;

obool 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

olist<string> * getEltRefList()
Return List of Element Reference(eltRef).

Returns:
a List<String> of 'eltRef'.

ostring getAbout()
Return value of 'about' Attribute of Resource Sheet.

Returns:
a String representing value of 'about'

ostring getContent()
Return value of 'content' Attribute of Resource Sheet.

Returns:
a String representing value of 'content'

ostring getContentAt()
Return value of 'contentAt' Attribute of Resource Sheet.

Returns:
a String representing value of 'contentAt'

olist<ResourceContext*> getContextList()
Return List of <Context> Child Nodes of <AResDesc> Node of Resource Sheet.

Returns:
a List<ResourceContext> representing <Context> Child Nodes of <AResDesc>

obool hasReplaces(string replaces)
Check whether hasReplaces exists or not.

Parameters:
replaces - a String value of replaces
Returns:
whether hasReplaces exists or not

obool hasIsReplacedBy(string isReplacedBy)
Check whether IsReplacedBy exists or not.

Parameters:
isReplacedBy - a String value of isReplacedBy
Returns:
whether IsReplacedBy exists or not

obool hasVersion(string hasVersion)
Check whether Version exists or not.

Parameters:
- hasVersion a String value of hasVersion
Returns:
whether Version exists or not

obool hasAudience(string audience)
Check whether Audience exists or not.

Parameters:
audience - a String value of audience
Returns:
whether Audience exists or not

obool hasRights(string rights)
Check whether Rights exists or not.

Parameters:
rights - a String value of rights
Returns:
whether Rights exists or not

obool hasDate(string date)
Check whether Date exists or not.

Parameters:
date - a String value of date
Returns:
whether Date exists or not

obool hasContributor(string contributor)
Check whether Contributor exists or not.

Parameters:
contributor - a String value of contributor
Returns:
whether Contributor exists or not

obool hasPublisher(string publisher)
Check whether publisher exists or not.

Parameters:
publisher - a String value of publisher
Returns:
boolean

obool hasCreator(string creator)
Check whether Creator exist or not.

Parameters:
creator - a String value of creator
Returns:
whether Creator exists or not.

obool hasIsVersionOf(string isVersionOf)
Check whether IsVersionOf exists or not.

Parameters:
isVersionOf - a String value of isVersionOf
Returns:
whether IsVersionOf exists or not

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