Interface ParsingMigrator

  • All Known Implementing Classes:
    MidpointParsingMigrator

    public interface ParsingMigrator
    Migrator that comes into play when content is parsed. Currently used to treat situations when simple content (e.g. message: string) was replaced by complex one (message: LocalizableMessageType).
    • Method Detail

      • tryParsingPrimitiveAsBean

        <T> T tryParsingPrimitiveAsBean​(PrimitiveXNode<T> primitive,
                                        Class<T> beanClass,
                                        ParsingContext pc)
        Tries to unmarshal primitive value into a given bean (if standard ways fail).
        Returns:
        non-null if it could be done