resolveType
public java.lang.Class<? extends Element> resolveType(java.lang.String name)
This allows complex elements to return their own implementation or definitions for element types. When a new
element is encountered, the system works its way up through the current stack, and finally ends up at the types
registered on the reader. This should return null if the element doesn't provide a custom type for the given
name.
The class returned can be a non-static class. In that case, it will get instantiated against the object returning
it.
- Parameters:
name
- the lower cased element name.
- Returns:
- a class that represents the element, or null if unknown.