Class DefaultDomConverter

    • Method Detail

      • getValueType

        public Class<?> getValueType()
        Gets the value type, which may be abstract.
        Specified by:
        getValueType in interface DomConverter
        Returns:
        The value type.
      • createValueInstance

        protected Object createValueInstance​(Class<?> type)
      • createChildDomConverter

        protected DomConverter createChildDomConverter​(Class<?> valueType,
                                                       PropertyDescriptorFactory propertyDescriptorFactory,
                                                       PropertySetDescriptor propertySetDescriptor)
        Called to create a new DOM converter for a (child) property. May be overridden by subclasses. The default implementation returns an instance of this class.
        Parameters:
        valueType - The value type
        propertyDescriptorFactory - The property descriptor factory.
        propertySetDescriptor - The property set descriptor.
        Returns:
        a "local" DOM converter or null.
      • findChildDomConverter

        protected DomConverter findChildDomConverter​(PropertyDescriptor descriptor)
        Called to find a "local" DOM converter for a (child) property. May be overridden by subclasses. The default implementation returns null.
        Parameters:
        descriptor - The property descriptor
        Returns:
        a "local" DOM converter or null.