com.endeca.infront.cartridge
Class ContentInclude
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
com.endeca.infront.assembler.BasicContentItem
com.endeca.infront.cartridge.ContentInclude
- All Implemented Interfaces:
- ContentItem, Serializable, Cloneable, Map<String,Object>
- Direct Known Subclasses:
- RedirectAwareContentInclude
public class ContentInclude
- extends BasicContentItem
Contains a set of parameters used to make a request for content from the
assembler.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Constructor Summary |
ContentInclude(ContentItem pContentItem)
Constructor that requires a ContentItem to describe the requested content. |
ContentInclude(String pContentUri)
Constructor that requires a URI to get the desired content. |
Method Summary |
String |
getContentUri()
The URI to retrieve content from a configured ContentSource. |
void |
setContentUri(String uri)
Sets the URI to retrieve content from a configured ContentSource. |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
ContentInclude
public ContentInclude(String pContentUri)
- Constructor that requires a URI to get the desired content.
- Parameters:
pContentUri
- The URI for the content. The string should be properly url-encoded.
ContentInclude
public ContentInclude(ContentItem pContentItem)
- Constructor that requires a ContentItem to describe the requested content.
- Parameters:
pContentItem
- Defines the requested content.
getContentUri
public String getContentUri()
- The URI to retrieve content from a configured ContentSource.
setContentUri
public void setContentUri(String uri)
- Sets the URI to retrieve content from a configured ContentSource.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.