|
Content Assembler API 2.1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentItem
A single content item from an instance of a ContentResult
object.
Each content item contains a map of child Property
objects, which are keyed by property name. Child properties are also
accessible sequentially via a property iterator.
Child content items may be nested explicitly within child properties.
ContentResults.getContent()
,
Property.getValue()
Method Summary | |
---|---|
java.lang.String |
getName()
The name for this content item. |
Property |
getProperty(java.lang.String pKey)
Returns the Property object associated with the
specified key or null if there is no associated
Property . |
java.util.List |
getPropertyList()
Returns an immutable list of child Property objects. |
java.util.Map |
getPropertyMap()
Returns an immutable map of child Property objects. |
java.lang.String |
getTemplateId()
The id for the template used to create the content item. |
java.lang.String |
getTemplateType()
The template type for the content item. |
java.util.Iterator |
iterator()
Returns a sequential iterator of child Property objects. |
Method Detail |
---|
java.lang.String getTemplateType()
java.lang.String getTemplateId()
java.lang.String getName()
Property getProperty(java.lang.String pKey)
Property
object associated with the
specified key or null
if there is no associated
Property
.
pKey
- the property key
Property
object associated with the specified
key or null.java.util.Iterator iterator()
Property
objects.
Property
objects.java.util.Map getPropertyMap()
Property
objects.
Property
objects.java.util.List getPropertyList()
Property
objects.
Property
objects.
|
Content Assembler API 2.1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@VERSION PRODUCT: Content Assembler API (ContentAssemblerAPIJava) VERSION: 2.1.2 BUILD: 54DEV ARCH_OS: n/a DATE: 2012-02-16T20:28:44-0500