com.github.fge.jsonschema.format.extra
Class UUIDFormatAttribute

java.lang.Object
  extended by com.github.fge.jsonschema.format.AbstractFormatAttribute
      extended by com.github.fge.jsonschema.format.extra.UUIDFormatAttribute
All Implemented Interfaces:
FormatAttribute

public final class UUIDFormatAttribute
extends AbstractFormatAttribute

Format specifier for a proposed uuid attribute

See Also:
UUID.fromString(String)

Method Summary
static FormatAttribute getInstance()
           
 void validate(com.github.fge.jsonschema.core.report.ProcessingReport report, MessageBundle bundle, FullData data)
          Validate the instance against this format attribute
 
Methods inherited from class com.github.fge.jsonschema.format.AbstractFormatAttribute
newMsg, supportedTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FormatAttribute getInstance()

validate

public void validate(com.github.fge.jsonschema.core.report.ProcessingReport report,
                     MessageBundle bundle,
                     FullData data)
              throws com.github.fge.jsonschema.core.exceptions.ProcessingException
Description copied from interface: FormatAttribute
Validate the instance against this format attribute

Parameters:
report - the report to use
bundle - the message bundle to use
data - the validation data
Throws:
com.github.fge.jsonschema.core.exceptions.ProcessingException - an exception occurs (normally, never for a format attribute)