Class TypeView

java.lang.Object
org.apache.sling.hapi.sightly.TypeView
All Implemented Interfaces:
Use

@ProviderType public class TypeView extends Object implements Use
  • Constructor Details

    • TypeView

      public TypeView()
  • Method Details

    • init

      public void init(Bindings bindings)
      Description copied from interface: Use

      Called to initialize the Java object with the current Java Scripting API bindings.

      This method is called only if the object has been instantiated by HTL as part of processing the data-sly-use attribute. The Java Scripting API bindings provide all the global variables known to a script being executed.

      Specified by:
      init in interface Use
      Parameters:
      bindings - The Java Scripting API bindings.
    • activate

      public void activate() throws Exception
      Throws:
      Exception
    • getTitle

      public String getTitle()
    • getDescription

      public String getDescription()
    • getParentUrl

      public String getParentUrl()
    • getParentFqdn

      public String getParentFqdn()
    • getParameters

      public List<String> getParameters()
    • getProps

      public List<HApiProperty> getProps()
    • getHasProps

      public boolean getHasProps()