@Model(adaptables=org.apache.sling.api.resource.Resource.class,
adapters=org.apache.sling.cms.Site.class)
public class SiteImpl
extends Object
implements Site
| Modifier and Type | Field and Description |
|---|---|
static String |
PN_CONFIG |
static String |
PN_URL |
| Constructor and Description |
|---|
SiteImpl(org.apache.sling.api.resource.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
Locale |
getLocale() |
String |
getLocaleString() |
String |
getPath() |
org.apache.sling.api.resource.Resource |
getResource() |
static Site |
getSite(org.apache.sling.api.resource.Resource resource) |
String |
getTitle() |
String |
getUrl() |
int |
hashCode() |
String |
toString() |
public static final String PN_CONFIG
public static final String PN_URL
public static Site getSite(org.apache.sling.api.resource.Resource resource)
public String getDescription()
getDescription in interface Sitepublic String getLocaleString()
getLocaleString in interface Sitepublic org.apache.sling.api.resource.Resource getResource()
getResource in interface SiteCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.