com.liferay.portal.kernel.util
Class ObjectGraphUtil.AnnotatedFieldMappingVisitor
java.lang.Object
com.liferay.portal.kernel.util.ObjectGraphUtil.AnnotatedFieldMappingVisitor
- All Implemented Interfaces:
- ObjectGraphUtil.Visitor
- Direct Known Subclasses:
- FabricPathMappingVisitor
- Enclosing class:
- ObjectGraphUtil
public abstract static class ObjectGraphUtil.AnnotatedFieldMappingVisitor
- extends Object
- implements ObjectGraphUtil.Visitor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectGraphUtil.AnnotatedFieldMappingVisitor
public ObjectGraphUtil.AnnotatedFieldMappingVisitor(Set<Class<?>> linkedClasses,
Set<Class<? extends Annotation>> annotationClasses,
Set<Class<?>> fieldTypeClasses)
visit
public Object visit(Field field,
Object target)
throws Exception
- Specified by:
visit in interface ObjectGraphUtil.Visitor
- Throws:
Exception
doMap
protected abstract Object doMap(Field field,
Object value)
hasAnnotation
protected boolean hasAnnotation(Annotation[] annotations)
isFieldTypeClass
protected boolean isFieldTypeClass(Class<?> clazz)
isLinkedClass
protected boolean isLinkedClass(Class<?> clazz)
mapValue
protected Object mapValue(Field field,
Object value)