|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.faces.application.ConverterPropertyEditorFactory
public class ConverterPropertyEditorFactory
Factory for dynamically generating PropertyEditor classes that extend
ConverterPropertyEditorBase and replace any references to the target
class from the template with a supplied target class.
| Constructor Summary | |
|---|---|
ConverterPropertyEditorFactory()
Create a ConverterPropertyEditorFactory that uses the
default template class (ConverterPropertyEditorFor_XXXX). |
|
ConverterPropertyEditorFactory(java.lang.Class<? extends ConverterPropertyEditorBase> templateClass)
Create a ConverterPropertyEditorFactory that uses the
specified template class. |
|
| Method Summary | |
|---|---|
java.lang.Class<? extends ConverterPropertyEditorBase> |
definePropertyEditorClassFor(java.lang.Class<?> targetClass)
Return a PropertyEditor class appropriate for editing the given targetClass. |
static ConverterPropertyEditorFactory |
getDefaultInstance()
Return the single default instance of this class (created with the default template class). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConverterPropertyEditorFactory()
ConverterPropertyEditorFactory that uses the
default template class (ConverterPropertyEditorFor_XXXX).
public ConverterPropertyEditorFactory(java.lang.Class<? extends ConverterPropertyEditorBase> templateClass)
ConverterPropertyEditorFactory that uses the
specified template class.
templateClass - | Method Detail |
|---|
public static ConverterPropertyEditorFactory getDefaultInstance()
public java.lang.Class<? extends ConverterPropertyEditorBase> definePropertyEditorClassFor(java.lang.Class<?> targetClass)
targetClass. The new class will be defined from a
DisposableClassLoader.
targetClass - the class of object that the returned property editor class
will be editing.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||