public interface PolymorphicReferenceResolver
Resolves polymorphic references.
A polymorphic reference is an element whose name and type
resolution are postponed till bind-time.
When the xml is read, the type can then resolved from
by calling resolveType(org.apache.commons.betwixt.io.read.ElementMapping, org.apache.commons.betwixt.io.read.ReadContext).
| Modifier and Type | Method and Description |
|---|---|
Class |
resolveType(ElementMapping mapping,
ReadContext context)
Resolves the bind-time type of a polymorphic element.
|
Class resolveType(ElementMapping mapping, ReadContext context)
mapping - ElementMapping describing the (polymorphic) element being mapped,
not nullcontext - ReadContext, not nullClass describing the type to which this element should be bound,
or null if the reference cannot be resolvedCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.