public interface ElementTypeResolver
ElementTypeResolver
may be employed by a DynamicElementHandler
to resolve a fully-qualified element name to a runtime type.DynamicElementHandler
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
resolveType(java.lang.String namespaceURI, java.lang.String localName)
Resolves a fully-qualified element name to a runtime type which is capable of consuming information in child elements as laid out by the rules defined by
DynamicElementHandler . |
java.lang.Class resolveType(java.lang.String namespaceURI, java.lang.String localName) throws HandlerException
DynamicElementHandler
.namespaceURI
- the namespace uri of the element to be resolved.localName
- the local name of the element to be resolved.Class
representing the runtime type capable of consuming the xml, or null
if no matching type is found.HandlerException
- if any problems occur loading the matching class.