Package com.composum.sling.nodes.browser
Class Browser.NodeHandle
- java.lang.Object
-
- com.composum.sling.nodes.browser.Browser.NodeHandle
-
-
Constructor Summary
Constructors Constructor Description NodeHandle(org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
String
getMappedUrl()
Returns a URL to the nodes View with resolver mapping.String
getMimeType()
the content mime type declared for the current resourceString
getName()
String
getNameEscaped()
String
getPath()
String
getPathEncoded()
String
getPathUrl()
Returns a URL to the nodes View based on the nodes path (without mapping).ResourceHandle
getResource()
String
getUrl()
Returns a URL to the nodes View probably with resolver mapping.
-
-
-
Method Detail
-
getResource
public ResourceHandle getResource()
-
getId
public String getId()
-
getName
public String getName()
-
getNameEscaped
public String getNameEscaped()
-
getPath
public String getPath()
-
getPathEncoded
public String getPathEncoded()
-
getPathUrl
public String getPathUrl()
Returns a URL to the nodes View based on the nodes path (without mapping).
-
getMappedUrl
public String getMappedUrl()
Returns a URL to the nodes View with resolver mapping.
-
getUrl
public String getUrl()
Returns a URL to the nodes View probably with resolver mapping.
-
getMimeType
public String getMimeType()
the content mime type declared for the current resource
-
-