edu.wisc.trace.uch.resource.resourcesheetmanager
Class AResourceDescription

java.lang.Object
  extended by edu.wisc.trace.uch.resource.resourcesheetmanager.AResourceDescription

public class AResourceDescription
extends Object

Parse and Store <AResDesc> element of ResourceSheet. Also store value of Inherited Properties from Resource Sheet. Provide methods to retrieve and match its properties.

Version:
$Revision: 1.1 $
Author:
Parikshit Thakur & Team, Trace R&D Center

Method Summary
 String getContent()
          Return value of 'content' Element of Resource Sheet.
 String getContentAt()
          Return value of 'contentAt' Attribute of Resource Sheet.
 boolean propMatched(Map<String,String> resProps)
          Check whether all the properties are matched and if matches returns true else returns false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContent

public String getContent()
Return value of 'content' Element of Resource Sheet.

Returns:
a String representing value of 'content'

getContentAt

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

Returns:
a String representing value of 'contentAt'

propMatched

public boolean 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


Copyright © 2006-2008 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.