Package ai.extend.types
Class CitationPage.Builder
- java.lang.Object
-
- ai.extend.types.CitationPage.Builder
-
- All Implemented Interfaces:
CitationPage._FinalStage,CitationPage.NumberStage
- Enclosing class:
- CitationPage
public static final class CitationPage.Builder extends java.lang.Object implements CitationPage.NumberStage, CitationPage._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CitationPagebuild()CitationPage.Builderfrom(CitationPage other)CitationPage._FinalStageheight(java.lang.Double height)The height of the page in points.CitationPage._FinalStageheight(java.util.Optional<java.lang.Double> height)The height of the page in points.CitationPage._FinalStagenumber(double number)Page number where the citation was found.CitationPage._FinalStagewidth(java.lang.Double width)The width of the page in points.CitationPage._FinalStagewidth(java.util.Optional<java.lang.Double> width)The width of the page in points.
-
-
-
Method Detail
-
from
public CitationPage.Builder from(CitationPage other)
- Specified by:
fromin interfaceCitationPage.NumberStage
-
number
public CitationPage._FinalStage number(double number)
Page number where the citation was found. Starts at 1.
Page number where the citation was found. Starts at 1.
- Specified by:
numberin interfaceCitationPage.NumberStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
height
public CitationPage._FinalStage height(java.lang.Double height)
The height of the page in points.
- Specified by:
heightin interfaceCitationPage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
height
public CitationPage._FinalStage height(java.util.Optional<java.lang.Double> height)
The height of the page in points.
- Specified by:
heightin interfaceCitationPage._FinalStage
-
width
public CitationPage._FinalStage width(java.lang.Double width)
The width of the page in points.
- Specified by:
widthin interfaceCitationPage._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
width
public CitationPage._FinalStage width(java.util.Optional<java.lang.Double> width)
The width of the page in points.
- Specified by:
widthin interfaceCitationPage._FinalStage
-
build
public CitationPage build()
- Specified by:
buildin interfaceCitationPage._FinalStage
-
-