public class FeedChannelContentMapper extends Object implements ContentMapper<FeedChannel>
FeedChannel
.Constructor and Description |
---|
FeedChannelContentMapper() |
Modifier and Type | Method and Description |
---|---|
FeedChannel |
map(javax.jcr.Node feedChannelNode)
Map a content node defining a feed channel to an actual
FeedChannel . |
public FeedChannel map(javax.jcr.Node feedChannelNode) throws javax.jcr.RepositoryException
FeedChannel
. If the content node does not have link
node data, null
is returned.
Furthermore, trimming
occurs on the link
and title
node data values.map
in interface ContentMapper<FeedChannel>
feedChannelNode
- the content node defining a feed channelfeedNode
when mapped succesful, null
if
the content node does not have link
node datajavax.jcr.RepositoryException
- when an exception occursIllegalArgumentException
- when link
or title
node data are blankCopyright © 2015 Magnolia International Ltd.. All rights reserved.