public interface Projector
Modifier and Type | Method and Description |
---|---|
boolean |
hasExcerptProjection(Class<?> type)
Returns whether an excerpt projection has been registered for the given type.
|
Object |
project(Object source)
Returns the projection object for the given source.
|
Object |
projectExcerpt(Object source)
Creates a excerpt projection for the given source.
|
Object project(Object source)
source
- must not be null.Object projectExcerpt(Object source)
project(Object)
. If you completely wish to skip handling the object, check for the
presence of an excerpt projection using hasExcerptProjection(Class)
.source
- must not be null.boolean hasExcerptProjection(Class<?> type)
type
- must not be null.Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.