public class BinaryHandler extends HtmlHandler
SESSIONNAME, XML| Constructor and Description |
|---|
BinaryHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getFieldValue(Request request,
Node node,
Field field)
Returns the field value as specified by the client's post.
|
String |
input(Request request,
Node node,
Field field,
boolean search)
Produces an form input field for the given Node, and Field.
|
void |
setUseSpecificSetter(boolean s)
IF this is set it true the value is not set with
Node.setValue(java.lang.String, java.lang.Object) but with Node.setInputStreamValue(java.lang.String, java.io.InputStream, long). |
protected void |
setValue(Request request,
Node node,
String fieldName,
Object value) |
String |
toString() |
appendClasses, appendClasses, appendNameId, check, getClassName, id, prefixError, setSetIfNotChangedcast, findString, getEvaluatedFieldValue, getFieldValue, getOperator, getSearchFieldValue, getSearchValue, getValue, id, interpretEmptyAsNull, search, setpublic void setUseSpecificSetter(boolean s)
Node.setValue(java.lang.String, java.lang.Object) but with Node.setInputStreamValue(java.lang.String, java.io.InputStream, long). The effect of this is that the method DataType.cast(java.lang.Object, org.mmbase.bridge.Node, org.mmbase.bridge.Field) is
avoided. This may be useful if the set-processor expects an InputStream, and not a
byte-array (or another type if this Handler is used on a non-binary field).public String input(Request request, Node node, Field field, boolean search)
Handlerprotected void setValue(Request request, Node node, String fieldName, Object value)
setValue in class AbstractHandler<String>protected Object getFieldValue(Request request, Node node, Field field)
getFieldValue in class AbstractHandler<String>node - This parameter could be used if the client does not fully specify the field's value (possible e.g. with Date fields). The existing specification could be used then.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}