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(com.github.fge.jsonschema.core.report.ProcessingReport report,
MessageBundle bundle,
FullData data)
Validate the instance against this format attribute
|
newMsg, supportedTypespublic static FormatAttribute getInstance()
public void validate(com.github.fge.jsonschema.core.report.ProcessingReport report, MessageBundle bundle, FullData data) throws com.github.fge.jsonschema.core.exceptions.ProcessingException
FormatAttributereport - the report to usebundle - the message bundle to usedata - the validation datacom.github.fge.jsonschema.core.exceptions.ProcessingException - an exception occurs (normally, never for a
format attribute)