public static class Contract.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Creates a new Builder with no specified Contract properties
|
Builder(Contract contract)
Creates a new Builder using the specification in the supplied
contract.
|
Modifier and Type | Method and Description |
---|---|
Contract |
build()
Builds a new Contract based on this builders current configuration.
|
Contract.Builder |
setBrailleRange(org.daisy.braille.embosser.Contract.BrailleRange value)
Sets the braille range for Contracts created using this builder
|
Contract.Builder |
setPages(java.lang.Integer value)
Sets the number of pages for Contracts created using this builder
|
public Builder()
public Builder(Contract contract)
contract
- the contract to usepublic Contract.Builder setBrailleRange(org.daisy.braille.embosser.Contract.BrailleRange value)
value
- the braille rangepublic Contract.Builder setPages(java.lang.Integer value)
value
- the number of pagespublic Contract build()