public interface ExcerptProjector
Modifier and Type | Method and Description |
---|---|
boolean |
hasExcerptProjection(Class<?> type)
Returns whether an excerpt projection has been registered for the given type.
|
Object |
projectExcerpt(Object source)
Creates a excerpt projection for the given source.
|
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–2018 Pivotal Software, Inc.. All rights reserved.