|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.services.meta.FixedExtractor<T>
public class FixedExtractor<T extends java.lang.annotation.Annotation>
Implementation of MetaDataExtractor that is used to set a fixed
value for a fixed meta-data key, when a given annotation is present.
| Constructor Summary | |
|---|---|
FixedExtractor(java.lang.String key)
Defaults the value to "true". |
|
FixedExtractor(java.lang.String key,
java.lang.String value)
|
|
| Method Summary | |
|---|---|
void |
extractMetaData(MutableComponentModel model,
T annotation)
Invoked on the extractor to extract the appropriate value for the annotation and set the meta data on the model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedExtractor(java.lang.String key)
public FixedExtractor(java.lang.String key,
java.lang.String value)
| Method Detail |
|---|
public void extractMetaData(MutableComponentModel model,
T annotation)
MetaDataExtractor
extractMetaData in interface MetaDataExtractor<T extends java.lang.annotation.Annotation>model - on which to set meta dataannotation - class annotation, from whose attributes specific data may be extracted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||