org.eel.kitchen.jsonschema.format
Class EmailFormatSpecifier

java.lang.Object
  extended by org.eel.kitchen.jsonschema.format.FormatSpecifier
      extended by org.eel.kitchen.jsonschema.format.EmailFormatSpecifier

public final class EmailFormatSpecifier
extends FormatSpecifier

Validator for the email format specification.

Note: email addresses with no domain part ARE valid emails, and are recognized as such. The draft does not say anywhere that the email should have a domain part!


Method Summary
 void checkValue(ValidationReport report, JsonNode instance)
           
static FormatSpecifier getInstance()
           
 
Methods inherited from class org.eel.kitchen.jsonschema.format.FormatSpecifier
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FormatSpecifier getInstance()

checkValue

public void checkValue(ValidationReport report,
                       JsonNode instance)


Copyright © 2012. All Rights Reserved.