com.github.fge.jsonschema.format.common
Class RegexAttribute
java.lang.Object
com.github.fge.jsonschema.format.AbstractFormatAttribute
com.github.fge.jsonschema.format.common.RegexAttribute
- All Implemented Interfaces:
- FormatAttribute
public final class RegexAttribute
- extends AbstractFormatAttribute
Validator for the regex
format attribute.
Again, here, we do not use java.util.regex
because it does
not fit the bill.
- See Also:
RhinoHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static FormatAttribute getInstance()
validate
public void validate(ProcessingReport report,
MessageBundle bundle,
FullData data)
throws ProcessingException
- Description copied from interface:
FormatAttribute
- Validate the instance against this format attribute
- Parameters:
report
- the report to usebundle
- the message bundle to usedata
- the validation data
- Throws:
ProcessingException
- an exception occurs (normally, never for a
format attribute)