Class ResourceModel

    • Constructor Detail

      • ResourceModel

        public ResourceModel​(BeanContext context,
                             org.apache.sling.api.resource.Resource resource)
        initialize bean using the context an the resource given explicitly
      • ResourceModel

        public ResourceModel​(BeanContext context)
        initialize bean using the context with the 'resource' attribute within
      • ResourceModel

        public ResourceModel()
        if this constructor is used, the bean must be initialized using the 'initialize' method!
    • Method Detail

      • getValues

        public org.apache.sling.api.resource.ValueMap getValues()
      • getProperty

        @NotNull
        public @NotNull org.apache.sling.api.resource.ValueMap getProperty()