T
- the target type of this mapper.public interface ContentMapper<T>
Node
node map(Node)
an object of type T.Modifier and Type | Method and Description |
---|---|
T |
map(javax.jcr.Node content)
Map a content node that defines a type T to an object of that type.
|
T map(javax.jcr.Node content) throws javax.jcr.RepositoryException
content
- the content node to mapjavax.jcr.RepositoryException
- when a problem occurred accessing the underlying repositoryCopyright © 2016 Magnolia International Ltd.. All rights reserved.