// Navigation related properties
addProperty(properties, navigationURIQName, currentNode.getURI());
// Page related properties
PageKey pageRef = currentNode.getPageRef();
UIPage currentPage = currentSite.getUIPage(pageRef != null ? pageRef.format() : null);
if (currentPage != null) {
addProperty(properties, pageNameQName, currentPage.getTitle());
}
// Site related properties
addProperty(properties, siteTypeQName, currentSite.getSiteType().getName());
addProperty(properties, siteNameQName, currentSite.getName());