public final class Base64FormatAttribute extends AbstractFormatAttribute
base64 format attribute
This implements Base64 as defined in RFC 4648 with one difference: while
the RFC states that excess padding characters (=) MAY be ignored, it
is chosen here to require that there be at most two, as per Base64 encoding
rules.
| Modifier and Type | Method and Description |
|---|---|
static FormatAttribute |
getInstance() |
void |
validate(ProcessingReport report,
MessageBundle bundle,
FullData data)
Validate the instance against this format attribute
|
newMsg, supportedTypespublic static FormatAttribute getInstance()
public void validate(ProcessingReport report, MessageBundle bundle, FullData data) throws ProcessingException
FormatAttributereport - the report to usebundle - the message bundle to usedata - the validation dataProcessingException - an exception occurs (normally, never for a
format attribute)