com.endeca.infront.cartridge
Class ContentInclude

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by com.endeca.infront.assembler.BasicContentItem
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
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 com.endeca.infront.assembler.BasicContentItem
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

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.
Method Detail

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.