Interface HasLoaderSupport

All Known Implementing Classes:
StudioDisplayModePropertiesLoader

public interface HasLoaderSupport
  • Method Details

    • loadString

      default Optional<String> loadString(org.dom4j.Element element, String attributeName)
    • loadString

      default Optional<String> loadString(org.dom4j.Element element, String attributeName, boolean emptyToNull)
    • loadBoolean

      default Optional<Boolean> loadBoolean(org.dom4j.Element element, String attributeName)
    • loadInteger

      default Optional<Integer> loadInteger(org.dom4j.Element element, String attributeName)
    • loadDouble

      default Optional<Double> loadDouble(org.dom4j.Element element, String attributeName)
    • loadEnum

      default <T extends Enum<T>> Optional<T> loadEnum(org.dom4j.Element element, Class<T> type, String attributeName)
    • loadString

      default void loadString(org.dom4j.Element element, String attributeName, Consumer<String> setter)
    • loadBoolean

      default void loadBoolean(org.dom4j.Element element, String attributeName, Consumer<Boolean> setter)
    • loadInteger

      default void loadInteger(org.dom4j.Element element, String attributeName, Consumer<Integer> setter)
    • loadDouble

      default void loadDouble(org.dom4j.Element element, String attributeName, Consumer<Double> setter)
    • loadEnum

      default <T extends Enum<T>> void loadEnum(org.dom4j.Element element, Class<T> type, String attributeName, Consumer<T> setter)