Skip navigation links
oracle.stellent.wcm.javaee.taglib
Class MetadataTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
oracle.stellent.wcm.javaee.taglib.BaseTag<MetadataRequest>
oracle.stellent.wcm.javaee.taglib.MetadataTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
-
public class MetadataTag
- extends BaseTag<MetadataRequest>
Load the metadata for a content item. Will use the cache so this is fairly performant for consumption environments.
Fields inherited from class oracle.stellent.wcm.javaee.taglib.BaseTag |
m_log |
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataTag
public MetadataTag()
getContentID
public java.lang.String getContentID()
-
- Returns:
- the content ID
setContentID
public void setContentID(java.lang.String contentID)
getVar
public java.lang.String getVar()
-
- Returns:
- variable name to expose this metadata
setVar
public void setVar(java.lang.String var)
createSiteRequestInvoker
protected SiteRequestInvoker<MetadataRequest> createSiteRequestInvoker()
throws ApplicationException
-
- Specified by:
createSiteRequestInvoker
in class BaseTag<MetadataRequest>
-
- Returns:
- the type of request
- Throws:
ApplicationException
populateSiteRequest
protected void populateSiteRequest()
throws ApplicationException
- Populate the site request object from the tag parameters
-
- Specified by:
populateSiteRequest
in class BaseTag<MetadataRequest>
-
- Throws:
ApplicationException
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.