|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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).
| Method Summary | |
|---|---|
java.lang.Class |
resolveType(ElementMapping mapping,
ReadContext context)
Resolves the bind-time type of a polymorphic element. |
| Method Detail |
|---|
java.lang.Class resolveType(ElementMapping mapping,
ReadContext context)
mapping - ElementMapping describing the (polymorphic) element being mapped,
not nullcontext - ReadContext, not null
Class describing the type to which this element should be bound,
or null if the reference cannot be resolved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||