public final class Library extends Object implements com.github.fge.jsonschema.util.Frozen<LibraryBuilder>
A library contains all keywords defined for a schema, but also all format attributes.
Modifier and Type | Method and Description |
---|---|
com.github.fge.jsonschema.library.Dictionary<Digester> |
getDigesters()
Get the dictionary of digesters
|
com.github.fge.jsonschema.library.Dictionary<FormatAttribute> |
getFormatAttributes()
Get the dictionary of format attributes
|
com.github.fge.jsonschema.library.Dictionary<com.github.fge.jsonschema.keyword.syntax.SyntaxChecker> |
getSyntaxCheckers()
Get the dictionary of syntax checkers
|
com.github.fge.jsonschema.library.Dictionary<Constructor<? extends KeywordValidator>> |
getValidators()
Get the dictionary of keyword validator constructors
|
static LibraryBuilder |
newBuilder()
Create a new, empty library builder
|
LibraryBuilder |
thaw()
Create a mutable version of this library
|
public static LibraryBuilder newBuilder()
LibraryBuilder
public com.github.fge.jsonschema.library.Dictionary<com.github.fge.jsonschema.keyword.syntax.SyntaxChecker> getSyntaxCheckers()
public com.github.fge.jsonschema.library.Dictionary<Digester> getDigesters()
public com.github.fge.jsonschema.library.Dictionary<Constructor<? extends KeywordValidator>> getValidators()
public com.github.fge.jsonschema.library.Dictionary<FormatAttribute> getFormatAttributes()
public LibraryBuilder thaw()
thaw
in interface com.github.fge.jsonschema.util.Frozen<LibraryBuilder>
LibraryBuilder
LibraryBuilder.LibraryBuilder(Library)
Copyright © 2014. All Rights Reserved.