public abstract class LeafTypeNewCoercer<U,T> extends Object implements TypeCoercer<U,T>
TypeCoercer.Traversal
Constructor and Description |
---|
LeafTypeNewCoercer() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasElementClass(Class<?>... types)
Returns whether the leaf nodes of this type coercer outputs value that is an instance of the
given class or its subclasses.
|
void |
traverse(CellNameResolver cellPathResolver,
Object object,
TypeCoercer.Traversal traversal)
Traverse an object guided by this TypeCoercer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkOutputAssignableTo, checkUnconfiguredAssignableTo, coerce, coerceBoth, coerceToUnconfigured, concat, getOutputType, getUnconfiguredType, supportsConcatenation, unconfiguredToConfiguredCoercionIsIdentity
public boolean hasElementClass(Class<?>... types)
TypeCoercer
hasElementClass
in interface TypeCoercer<U,T>
public void traverse(CellNameResolver cellPathResolver, Object object, TypeCoercer.Traversal traversal)
TypeCoercer
#{link Traversal#traverse} function will be called once for the object. If the object is a collection or map, it will also recursively traverse all elements of the map.
traverse
in interface TypeCoercer<U,T>