C
- a specific Component POJO type, such as an instance of Comment
or Post
.public interface IndexElementFactory<C>
IndexElement
from a specified Resource
and adapts
an instance of IndexElement
to a specific Component POJO type, such as an instance of Comment
or
Post
.Modifier and Type | Method and Description |
---|---|
C |
adaptTo(IndexElement resourceElement)
Adapt the specified resoruceElement to the component data model.
|
IndexElement |
createIndexElement(Resource resource)
Create an instance of IndexElement from a specified resource.
|
IndexElement createIndexElement(Resource resource)
resource
- the index resourceC adaptTo(IndexElement resourceElement)
resourceElement
- the resource elementComment
."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"