Class CompactConstructor

    • Constructor Detail

      • CompactConstructor

        public CompactConstructor()
    • Method Detail

      • createCompactConstruct

        protected Construct createCompactConstruct()
      • getConstructor

        protected Construct getConstructor​(Node node)
        Description copied from class: BaseConstructor
        Get the constructor to construct the Node. For implicit tags if the runtime class is known a dedicated Construct implementation is used. Otherwise the constructor is chosen by the tag.
        Overrides:
        getConstructor in class BaseConstructor
        Parameters:
        node - Node to construct an instance from
        Returns:
        Construct implementation for the specified node
      • applySequence

        protected void applySequence​(Object bean,
                                     List<?> value)
      • getSequencePropertyName

        protected String getSequencePropertyName​(Class<?> bean)
        Provide the name of the property which is used when the entries form a sequence. The property must be a List.
        Parameters:
        bean - the class to provide exactly one List property
        Returns:
        name of the List property