Package com.composum.sling.core.request
Class DomIdentifiers
- java.lang.Object
-
- com.composum.sling.core.request.DomIdentifiers
-
public class DomIdentifiers extends Object
a request attribute implementation to create ids for the DOM elements during component rendering
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DomIdentifiers.Element
-
Field Summary
Fields Modifier and Type Field Description static String
ATTRIBUTE_KEY
-
Constructor Summary
Constructors Modifier Constructor Description protected
DomIdentifiers()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DomIdentifiers.Element
getElement(String path, String type)
String
getElementId(SlingBean bean)
String
getElementId(String path, String type)
String
getElementId(org.apache.sling.api.resource.Resource resource)
static DomIdentifiers
getInstance(BeanContext context)
-
-
-
Field Detail
-
ATTRIBUTE_KEY
public static final String ATTRIBUTE_KEY
-
-
Method Detail
-
getInstance
public static DomIdentifiers getInstance(BeanContext context)
-
getElementId
public String getElementId(org.apache.sling.api.resource.Resource resource)
-
getElement
public DomIdentifiers.Element getElement(String path, String type)
-
-