|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openliberty.openaz.pep.SimpleJavaObjectMapper
public class SimpleJavaObjectMapper
Default implementation of JavObjectMapper
.
It supports the mapping of
java.util.Date
,
java.lang.String
, and
java.util.Map
AzWrapperRequestObject
Constructor Summary | |
---|---|
SimpleJavaObjectMapper()
Create a SimpleJavaObjectMapper |
Method Summary | ||
---|---|---|
boolean |
canMapObject(java.lang.Object obj)
Determines if this Mapper can map the type of class that that is passed in as a parameter. |
|
java.util.Set<java.lang.Class> |
getSupportedClasses()
Returns the set of class objects supported by this Mapper |
|
|
map(java.lang.Object javaObject,
AzWrapperRequestObject<T> azWrapperObject)
Maps a Java Object to one or more AzAttributes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleJavaObjectMapper()
Method Detail |
---|
public java.util.Set<java.lang.Class> getSupportedClasses()
getSupportedClasses
in interface JavaObjectMapper
public boolean canMapObject(java.lang.Object obj)
canMapObject
in interface JavaObjectMapper
obj
- Java Object (ex: Permission) which needs to be mapped to an AzWrapperRequestObject
JavaObjectMapper
can map the obj, false otherwisepublic <T extends java.lang.Enum<T>> AzWrapperRequestObject<T> map(java.lang.Object javaObject, AzWrapperRequestObject<T> azWrapperObject) throws PepException
map
in interface JavaObjectMapper
PepException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |