Interface IBindingContext.IBindingMatcher

Enclosing interface:
IBindingContext

public static interface IBindingContext.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 Details

    • of

      Construct a new binding matcher for the provided assembly definition.
      Parameters:
      assembly - the assembly definition that matcher is for
      Returns:
      the matcher
    • getBoundClassForXmlQName

      Determine the bound class for the provided XML QName.
      Parameters:
      rootQName - the root XML element's QName
      Returns:
      the bound class for the XML qualified name or null if not recognized
    • getBoundClassForJsonName

      Determine the bound class for the provided JSON/YAML property/item name.
      Parameters:
      rootName - the JSON/YAML property/item name
      Returns:
      the bound class for the JSON property name or null if not recognized