Class DomConverterRegistry

java.lang.Object
com.bc.ceres.binding.dom.DomConverterRegistry

public class DomConverterRegistry extends Object
  • Constructor Details

    • DomConverterRegistry

      public DomConverterRegistry()
  • Method Details

    • getInstance

      public static DomConverterRegistry getInstance()
      Gets the singleton instance of the registry.
      Returns:
      The instance.
    • setDomConverter

      public void setDomConverter(Class<?> type, DomConverter converter)
      Sets the converter to be used for the specified type.
      Parameters:
      type - The type.
      converter - The converter.
    • getConverter

      public DomConverter getConverter(Class<?> type)
      Gets the converter registered with the given type.
      Parameters:
      type - The type.
      Returns:
      The converter for the given type or null if no such converter exists.