|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.xal.smf.data.BucketParser
BucketParser is a wrapper for the collection of attribute buckets associated with an AcceleratorNode. Since each attribute bucket has a type and that type is used as the bucket's data node name within the "attributes" data node hierarchy, a wrapper is needed to hold all such buckets. The BucketParser is that wrapper.
| Constructor Summary | |
BucketParser()
Creates new BucketParser |
|
BucketParser(java.util.Collection bucketList)
creates a new BucketParser from a list of buckets |
|
| Method Summary | |
java.lang.String |
dataLabel()
DataListener interface support |
AttributeBucket |
getBucket(java.lang.String bucketType)
get a specific bucket keyed by the bucket type |
java.util.Collection |
getBuckets()
get a collection of all the buckets |
void |
update(DataAdaptor adaptor)
DataListener interface support |
void |
write(DataAdaptor adaptor)
DataListener interface support |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BucketParser()
public BucketParser(java.util.Collection bucketList)
| Method Detail |
public java.lang.String dataLabel()
dataLabel in interface DataListener
public void update(DataAdaptor adaptor)
throws java.lang.NumberFormatException
update in interface DataListeneradaptor - The adaptor from which to update the data
java.lang.NumberFormatExceptionpublic void write(DataAdaptor adaptor)
write in interface DataListeneradaptor - The adaptor to which the receiver's data is writtenpublic java.util.Collection getBuckets()
public AttributeBucket getBucket(java.lang.String bucketType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||