|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.github.fge.jsonschema.library.Library
public final class Library
A schema keyword library
A library contains all keywords defined for a schema, but also all format attributes.
ValidationConfigurationBuilder.addLibrary(String, Library)
,
ValidationConfigurationBuilder.setDefaultLibrary(String, Library)
,
ValidationConfigurationBuilder.setDefaultVersion(SchemaVersion)
Method Summary | |
---|---|
Dictionary<Digester> |
getDigesters()
Get the dictionary of digesters |
Dictionary<FormatAttribute> |
getFormatAttributes()
Get the dictionary of format attributes |
Dictionary<SyntaxChecker> |
getSyntaxCheckers()
Get the dictionary of syntax checkers |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LibraryBuilder newBuilder()
LibraryBuilder
public Dictionary<SyntaxChecker> getSyntaxCheckers()
public Dictionary<Digester> getDigesters()
public Dictionary<Constructor<? extends KeywordValidator>> getValidators()
public Dictionary<FormatAttribute> getFormatAttributes()
public LibraryBuilder thaw()
thaw
in interface Frozen<LibraryBuilder>
LibraryBuilder
LibraryBuilder.LibraryBuilder(Library)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |