mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
some cleanup
This commit is contained in:
parent
1a001a1af4
commit
7dc62012a6
22 changed files with 144 additions and 50 deletions
|
|
@ -64,12 +64,17 @@ public class ConfigurationBuilder {
|
|||
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* Add a specific author name to this configuration.
|
||||
*
|
||||
* @param authorName the name of the author
|
||||
* @return this
|
||||
*/
|
||||
public ConfigurationBuilder author(final String authorName) {
|
||||
this.author = authorName;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
public ConfigurationBuilder name(final String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
|
|
@ -135,6 +140,12 @@ public class ConfigurationBuilder {
|
|||
throw new NotImplementedException("Not yet defined");
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a named schematron configuration.
|
||||
*
|
||||
* @param name the name of the schematron configuration
|
||||
* @return new {@link SchemaBuilder}
|
||||
*/
|
||||
public static SchematronBuilder schematron(final String name) {
|
||||
return new SchematronBuilder().name(name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue