|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceid.saml20.adapter.gui.FieldDescriptor
org.sourceid.saml20.adapter.gui.UploadFileFieldDescriptor
public class UploadFileFieldDescriptor
A field descriptor that will render a field upload field on the GUI configuration screen.
The value of this field in the Configuration
will
be the base 64 encoded contents of the file the user chose to upload.
AdapterConfigurationGuiDescriptor.addField(FieldDescriptor)
,
AdapterConfigurationGuiDescriptor.addAdvancedField(FieldDescriptor)
,
TableDescriptor.addRowField(FieldDescriptor)
,
Field.getFileValueAsString()
,
Field.getFileValueAsByteArray()
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor |
---|
FieldDescriptor.FieldValidationWrapper |
Constructor Summary | |
---|---|
UploadFileFieldDescriptor(java.lang.String name,
java.lang.String description)
Create a new TextFieldDescriptor. |
Method Summary | |
---|---|
void |
setDefaultValue(java.lang.String defaultValue)
Note: default values are not supported for the UploadFileFieldDescriptor field type. |
Methods inherited from class org.sourceid.saml20.adapter.gui.FieldDescriptor |
---|
addValidator, addValidator, getDefaultValue, getDescription, getName, getValidationChain |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UploadFileFieldDescriptor(java.lang.String name, java.lang.String description)
name
- the field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor).description
- a helpful description of the field.Method Detail |
---|
public void setDefaultValue(java.lang.String defaultValue)
setDefaultValue
in class FieldDescriptor
defaultValue
- for this field.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |