Package org.apache.sling.hapi.sightly
Class TypeView
- java.lang.Object
-
- org.apache.sling.hapi.sightly.TypeView
-
- All Implemented Interfaces:
Use
@ProviderType public class TypeView extends java.lang.Object implements Use
-
-
Constructor Summary
Constructors Constructor Description TypeView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
java.lang.String
getDescription()
boolean
getHasProps()
java.util.List<java.lang.String>
getParameters()
java.lang.String
getParentFqdn()
java.lang.String
getParentUrl()
java.util.List<HApiProperty>
getProps()
java.lang.String
getTitle()
void
init(javax.script.Bindings bindings)
Called to initialize the Java object with the current Java Scripting API bindings.
-
-
-
Method Detail
-
init
public void init(javax.script.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.
-
activate
public void activate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getTitle
public java.lang.String getTitle()
-
getDescription
public java.lang.String getDescription()
-
getParentUrl
public java.lang.String getParentUrl()
-
getParentFqdn
public java.lang.String getParentFqdn()
-
getParameters
public java.util.List<java.lang.String> getParameters()
-
getProps
public java.util.List<HApiProperty> getProps()
-
getHasProps
public boolean getHasProps()
-
-