public final class Library extends Object implements Frozen<LibraryBuilder>
A library contains all keywords defined for a schema, but also all format attributes.
Modifier and Type | Method and Description |
---|---|
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<KeywordValidatorFactory> |
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 Dictionary<SyntaxChecker> getSyntaxCheckers()
public Dictionary<Digester> getDigesters()
public Dictionary<KeywordValidatorFactory> getValidators()
public Dictionary<FormatAttribute> getFormatAttributes()
public LibraryBuilder thaw()
thaw
in interface Frozen<LibraryBuilder>
LibraryBuilder
LibraryBuilder.LibraryBuilder(Library)