Hi, the current way to get at the values of the tag fields in an SD file
is by using getProperty and specifying the field name.

However this assumes that the field names are known. In addition I think
somebody mentioned at one point that this could lead to possible
conflicts between constants in the CDK which might be used to get at
properties.

I was wondering is this would not be a better idea:

Add a new constant called SD_TAGS to CDKConstants
When reading an SD file, load the tag names and values into a HashMap
and add that as the value for the SD_TAGS properties.

This way, there'd be no overlap and a simple way to check for the
presence of tags as well.

-------------------------------------------------------------------
Rajarshi Guha <[EMAIL PROTECTED]>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
Every nonzero finite dimensional inner product 
space has an orthonormal basis.
It makes sense, when you don't think about it.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to