org.apache.commons.betwixt.registry.PolymorphicReferenceResolver |
Known Indirect Subclasses |
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(ElementMapping, ReadContext)
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Resolves the bind-time type of a polymorphic element.
|
Resolves the bind-time type of a polymorphic element.
mapping | ElementMapping describing the (polymorphic) element being mapped,
not null |
---|---|
context | ReadContext , not null |
Class
describing the type to which this element should be bound,
or null if the reference cannot be resolved