Interface SitemapGenerator.Context

  • Enclosing interface:
    SitemapGenerator

    public static interface SitemapGenerator.Context
    A context object that gives the SitemapGenerator access to additional configurations and methods to track state.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T getProperty​(@NotNull java.lang.String name, @NotNull java.lang.Class<T> cls)  
      <T> T getProperty​(@NotNull java.lang.String name, T defaultValue)  
      void setProperty​(@NotNull java.lang.String name, @Nullable java.lang.Object data)  
    • Method Detail

      • getProperty

        @Nullable
        <T> T getProperty​(@NotNull
                          @NotNull java.lang.String name,
                          @NotNull
                          @NotNull java.lang.Class<T> cls)
      • getProperty

        @NotNull
        <T> T getProperty​(@NotNull
                          @NotNull java.lang.String name,
                          @NotNull
                          T defaultValue)
      • setProperty

        void setProperty​(@NotNull
                         @NotNull java.lang.String name,
                         @Nullable
                         @Nullable java.lang.Object data)