public class EmptyField extends AbstractField
An empty field.
EMPTY_FIELD| Modifier and Type | Field and Description |
|---|---|
static Field |
EMPTY_FIELD
The empty field.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name.
|
String |
getValue()
Returns the value.
|
formatValue, getFormattedValue, isEmpty, isNamelesspublic static final Field EMPTY_FIELD
public String getName()
FieldReturns the name.
null, if the field is an empty field or
a nameless field.Field.isEmpty(),
Field.isNameless()public String getValue()
FieldReturns the value.
The value can contain newlines.
null, if the field is an empty field.Field.isEmpty()Copyright © 2015–2019. All rights reserved.