public final class IPv4FormatAttribute extends AbstractFormatAttribute
ip-address (draft v3) and ipv4 (draft
v4) format attributes.
This uses Guava's InetAddresses to do the job.
| Constructor and Description |
|---|
IPv4FormatAttribute(String fmt) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(com.github.fge.jsonschema.report.ProcessingReport report,
FullData data)
Validate the instance against this format attribute
|
newMsg, supportedTypespublic IPv4FormatAttribute(String fmt)
public void validate(com.github.fge.jsonschema.report.ProcessingReport report,
FullData data)
throws com.github.fge.jsonschema.exceptions.ProcessingException
FormatAttributereport - the report to usedata - the validation datacom.github.fge.jsonschema.exceptions.ProcessingException - an exception occurs (normally, never for a
format attribute)Copyright © 2014. All Rights Reserved.