public class PageHit extends JCRNodeHit
context, resource| Constructor and Description |
|---|
PageHit(JCRNodeWrapper page,
RenderContext context)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Returns the MIME type of the hit content, if applicable.
|
addRow, getCreated, getCreatedBy, getDisplayableNode, getExcerpt, getIconType, getLastModified, getLastModifiedBy, getLink, getName, getPath, getProperties, getRows, getTitle, getType, getUsages, setExcerpt, setUsageFilterSitesequals, getContext, getLinkTemplateType, getQueryParameter, getRawHit, getScore, hashCode, setLinkTemplateType, setQueryParameter, setScore, toStringpublic PageHit(JCRNodeWrapper page, RenderContext context)
page - search result item to be wrappedcontext - public String getContentType()
HitgetContentType in interface Hit<JCRNodeWrapper>getContentType in class JCRNodeHitCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.