|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c Release 1 (12.1.2.0.0) E23185-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.datatransfer.ClientFlavorDecoder<T>
public abstract class ClientFlavorDecoder<T>
Class for decoding data received from the client to the appropriate TransferData after the Marshalling subsystem's default type conversion has already been applied. Implementations should be registered during application initialization on the MarshallingService.
MarshallingService.registerJSDecoder(java.lang.String, java.lang.String, oracle.adf.view.rich.datatransfer.ClientFlavorDecoder>
)| Constructor Summary | |
|---|---|
ClientFlavorDecoder() |
|
| Method Summary | |
|---|---|
abstract TransferData<T> |
decode(javax.faces.context.FacesContext context, String clientFlavorKind, String clientFlavorDiscriminant, Object data)Converts the data to the desired TransferData instance, throwsing a ParseException if conversion is not possible. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientFlavorDecoder()
| Method Detail |
|---|
public abstract TransferData<T> decode(javax.faces.context.FacesContext context,
String clientFlavorKind,
String clientFlavorDiscriminant,
Object data)
throws ParseException
context - FacesContextclientFlavorKind - String identifying the source client data flavor kindclientFlavorDiscriminant - String identifying the source client data flavor discriminant, if anydata - Type converted data to convert to the appropriate TransferDataParseException - If data is not convertible to the desired TransferData
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c Release 1 (12.1.2.0.0) E23185-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2013 Oracle Corporation. All Rights Reserved.