@Service(value="blCategoryLinkedDataGenerator") public class CategoryLinkedDataGeneratorImpl extends AbstractLinkedDataGenerator
See http://schema.org/ItemList and http://schema.org/ListItem
baseUrlResolver, breadcrumbService, DEFAULT_STRUCTURED_CONTENT_CONTEXT, environment, extensionManager| Constructor and Description |
|---|
CategoryLinkedDataGeneratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCategoryProductData(javax.servlet.http.HttpServletRequest request,
org.codehaus.jettison.json.JSONObject categoryData) |
boolean |
canHandle(javax.servlet.http.HttpServletRequest request)
Determines whether or not this LinkedDataGenerator can handle the incoming request.
|
protected org.codehaus.jettison.json.JSONArray |
getLinkedDataJsonInternal(String url,
javax.servlet.http.HttpServletRequest request,
org.codehaus.jettison.json.JSONArray schemaObjects) |
protected List<Product> |
getProducts(javax.servlet.http.HttpServletRequest request) |
getLinkedDataJSON, getRequestParams, getRequestUri, getSiteBaseUrl, getStructuredDataContextpublic boolean canHandle(javax.servlet.http.HttpServletRequest request)
LinkedDataGeneratorcanHandle in interface LinkedDataGeneratorcanHandle in class AbstractLinkedDataGeneratorprotected org.codehaus.jettison.json.JSONArray getLinkedDataJsonInternal(String url, javax.servlet.http.HttpServletRequest request, org.codehaus.jettison.json.JSONArray schemaObjects) throws org.codehaus.jettison.json.JSONException
getLinkedDataJsonInternal in class AbstractLinkedDataGeneratororg.codehaus.jettison.json.JSONExceptionprotected void addCategoryProductData(javax.servlet.http.HttpServletRequest request,
org.codehaus.jettison.json.JSONObject categoryData)
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionCopyright © 2020. All rights reserved.