Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright (c) 2012, Francis Galiegue <>
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the Lesser GNU General Public License as
  * published by the Free Software Foundation, either version 3 of the
  * License, or (at your option) any later version.
  * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * Lesser GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <>.

Enumeration of validation domains

This implementation defines three validation domains: ref resolving, syntax validation and instance validation. This happens to be the order in which validation proceeds.

See also:
public enum Domain
Ref resolution

This can cover ref resolution proper (ie, JSON Reference resolution) but also all associated mechanism, such as JSON Schema retrieval, URI building, etc.

    REF_RESOLVING("$ref resolving"),
Syntax validation
Instance validation

The domain as a string
    private final String domain;
    Domain(final String domain)
        this. = domain;
    public String toString()
        return ;

Create a Message.Builder for this validation domain

a message builder
See also:
    public Message.Builder newMessage()
        return new Message.Builder(this);
New to GrepCode? Check out our FAQ X