Interface ParentResourceDescriptionResolver

    • Method Detail

      • createChildResolver

        default ParentResourceDescriptionResolver createChildResolver​(PathElement path,
                                                                      PathElement alternatePath)
        Creates a ResourceDescriptionResolver whose descriptions are located via keys generated from the specified path, or the alternate path if no description was found.
        Parameters:
        path - a path element used to generate description keys
        alternatePath - an alternate path element used to generate description keys
        Returns:
        a resolver of resource descriptions
      • createChildResolver

        default ParentResourceDescriptionResolver createChildResolver​(PathElement path,
                                                                      PathElement alternatePath1,
                                                                      PathElement alternatePath2)
        Creates a ResourceDescriptionResolver whose descriptions are located via keys generated from the specified path, or the alternate paths if no description was found.
        Parameters:
        path - a path element used to generate description keys
        alternatePath1 - an alternate path element used to generate description keys
        alternatePath2 - a second alternate path element used to generate description keys
        Returns:
        a resolver of resource descriptions
      • createChildResolver

        default ParentResourceDescriptionResolver createChildResolver​(PathElement path,
                                                                      PathElement... alternatePaths)
        Creates a ResourceDescriptionResolver whose descriptions are located via keys generated from the specified path, or the alternate paths if no description was found.
        Parameters:
        path - a path element used to generate description keys
        alternatePaths - alternate path elements used to generate description keys
        Returns:
        a resolver of resource descriptions
      • createChildResolver

        ParentResourceDescriptionResolver createChildResolver​(PathElement path,
                                                              List<PathElement> alternates)
        Creates a ResourceDescriptionResolver whose descriptions are located via keys generated from the specified path, or the alternate path if no description was found.
        Parameters:
        path - a path element used to generate description keys
        alternatePaths - alternate path elements used to generate description keys
        Returns:
        a resolver of resource descriptions