|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omnifaces.application.ConverterProvider
public abstract class ConverterProvider
An abstraction of converter provider. Concrete converter provider implementations (such as the one from CDI) must
store themselves in the EL scope under the NAME
.
OmniApplication
Field Summary | |
---|---|
static java.lang.String |
NAME
The name on which the converter provider implementation should be stored in the EL scope. |
Constructor Summary | |
---|---|
ConverterProvider()
|
Method Summary | |
---|---|
abstract javax.faces.convert.Converter |
createConverter(java.lang.Class<?> converterForClass)
Returns the converter instance associated with the given converter for-class, or null if there is none. |
abstract javax.faces.convert.Converter |
createConverter(java.lang.String converterId)
Returns the converter instance associated with the given converter ID, or null if there is none. |
static ConverterProvider |
getInstance()
Returns the converter provider implementation from the EL context, or null if there is none. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
Constructor Detail |
---|
public ConverterProvider()
Method Detail |
---|
public abstract javax.faces.convert.Converter createConverter(java.lang.String converterId)
null
if there is none.
converterId
- The converter ID of the desired converter instance.
null
if there is none.public abstract javax.faces.convert.Converter createConverter(java.lang.Class<?> converterForClass)
null
if there is none.
converterForClass
- The converter for-class of the desired converter instance.
null
if there is none.public static ConverterProvider getInstance()
null
if there is none.
null
if there is none.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |