Class ResourceDictionaryBuilder


  • public class ResourceDictionaryBuilder
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ResourceDictionaryBuilder.ApiScopeKey
      A helper class to create a unique key for the combination of API name and API scope
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ResourceDictionary build​(java.util.Collection<java.lang.Object> entityResources, java.util.Collection<java.lang.Object> relationshipResources)
      Builds a ResourceDictionary by parsing the resources that are passed in.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceDictionaryBuilder

        public ResourceDictionaryBuilder()
    • Method Detail

      • build

        public static ResourceDictionary build​(java.util.Collection<java.lang.Object> entityResources,
                                               java.util.Collection<java.lang.Object> relationshipResources)
        Builds a ResourceDictionary by parsing the resources that are passed in.
        Parameters:
        entityResources - - object annotated as @EntityResource
        relationshipResources - - object annotated as @RelationshipResource
        Returns:
        ResourceDictionary