br.usp.iterador.jxpath
Class RealField

java.lang.Object
  extended by br.usp.iterador.jxpath.RealField
All Implemented Interfaces:
FieldData

public class RealField
extends java.lang.Object
implements FieldData


Constructor Summary
RealField(java.lang.Object obj, java.lang.reflect.Field field)
           
RealField(java.lang.Object obj, java.lang.String field)
           
 
Method Summary
 java.lang.Object get()
           
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> annotationClass)
           
 java.lang.String getName()
           
 java.lang.Class<?> getType()
           
 boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 void set(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealField

public RealField(java.lang.Object obj,
                 java.lang.reflect.Field field)

RealField

public RealField(java.lang.Object obj,
                 java.lang.String field)
          throws java.lang.SecurityException,
                 java.lang.NoSuchFieldException
Throws:
java.lang.SecurityException
java.lang.NoSuchFieldException
Method Detail

set

public void set(java.lang.Object value)
         throws JXPathException
Throws:
JXPathException

get

public java.lang.Object get()
                     throws JXPathException
Throws:
JXPathException

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
Specified by:
getAnnotation in interface FieldData

isAnnotationPresent

public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Specified by:
isAnnotationPresent in interface FieldData

getName

public java.lang.String getName()
Specified by:
getName in interface FieldData

getType

public java.lang.Class<?> getType()
Specified by:
getType in interface FieldData


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.