>>This works fine and I can create a template :
>>
>>MyFeatureType.Template template = new MyFeatureType.Template();
>>template.type = "MyFeature";
>>template.source = source;
>>template.location = new RangeLocation(start, end);
>>template.annotation = Annotation.EMPTY_ANNOTATION;
>>template.myValue = 12345;


> When you try to create an unrecognized Feature type, the
> system automatically falls back to the first recognized
> superclass of your interface (in this case just Feature),
> which explains the ClassCastExceptions you're getting.


Thomas, urrently, is myValue lost into the ether, or is it placed into 
the feature's annotation bundle?

Matthew

_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to