Class TypedAnnotationProxyBase
- java.lang.Object
-
- org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy
-
- org.apache.xmlbeans.impl.jam.annotation.TypedAnnotationProxyBase
-
public abstract class TypedAnnotationProxyBase extends AnnotationProxy
Deprecated.do not use, being deleted
-
-
Field Summary
-
Fields inherited from class org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy
SINGLE_MEMBER_NAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description JAnnotationValue[]
getValues()
Deprecated.Returns an untyped view of the annotation's values.void
setValue(String name, Object value, JClass type)
Deprecated.Sets the member value by introspecting this class and looking for an appropriate setter method.-
Methods inherited from class org.apache.xmlbeans.impl.jam.annotation.AnnotationProxy
getValue, init
-
-
-
-
Method Detail
-
setValue
public void setValue(String name, Object value, JClass type)
Deprecated.Sets the member value by introspecting this class and looking for an appropriate setter method. For example, if the 'name' parameter is 'foo', a method called setFoo will be searched for. If more than one such method exists, normal java type widening will be performed to select the most appropriate match. Type conversion will be performed on the 'value' object as necessary.
Extending classes are free to override this method if different behavior is required.
- Specified by:
setValue
in classAnnotationProxy
-
getValues
public JAnnotationValue[] getValues()
Deprecated.Returns an untyped view of the annotation's values. These simply reflect the values which have been passed into it from JAM via the setValue method. This means they will just be a direct reflection of whatever was found on 175 annotation or javadoc tag that is being proxied.
Extending classes are encouraged to override this method if different behavior is required.
- Specified by:
getValues
in classAnnotationProxy
-
-