Interface IBindingMatcher
-
public interface IBindingMatcher
Implementations of this interface provide a means by which a bound class can be found that corresponds to an XML element, JSON property, or YAML item name.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>
getBoundClassForJsonName(String rootName)
Determine the bound class for the provided JSON/YAML property/item name.Class<?>
getBoundClassForXmlQName(QName rootQName)
Determine the bound class for the provided XMLQName
.
-
-
-
Method Detail
-
getBoundClassForXmlQName
Class<?> getBoundClassForXmlQName(QName rootQName)
Determine the bound class for the provided XMLQName
.- Parameters:
rootQName
- the root XML element's QName- Returns:
- the bound class or
null
if not recognized
-
getBoundClassForJsonName
Class<?> getBoundClassForJsonName(String rootName)
Determine the bound class for the provided JSON/YAML property/item name.- Parameters:
rootName
- the JSON/YAML property/item name- Returns:
- the bound class or
null
if not recognized
-
-