Package com.anthropic.models
Class TextCitation
-
- All Implemented Interfaces:
public final class TextCitation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTextCitation.VisitorAn interface that defines how to map each variant of TextCitation to a value of type T.
-
Method Summary
-
-
Method Detail
-
citationCharLocation
final Optional<CitationCharLocation> citationCharLocation()
-
citationPageLocation
final Optional<CitationPageLocation> citationPageLocation()
-
citationContentBlockLocation
final Optional<CitationContentBlockLocation> citationContentBlockLocation()
-
isCitationCharLocation
final Boolean isCitationCharLocation()
-
isCitationPageLocation
final Boolean isCitationPageLocation()
-
isCitationContentBlockLocation
final Boolean isCitationContentBlockLocation()
-
asCitationCharLocation
final CitationCharLocation asCitationCharLocation()
-
asCitationPageLocation
final CitationPageLocation asCitationPageLocation()
-
asCitationContentBlockLocation
final CitationContentBlockLocation asCitationContentBlockLocation()
-
accept
final <T extends Any> T accept(TextCitation.Visitor<T> visitor)
-
validate
final TextCitation validate()
-
ofCitationCharLocation
final static TextCitation ofCitationCharLocation(CitationCharLocation citationCharLocation)
-
ofCitationPageLocation
final static TextCitation ofCitationPageLocation(CitationPageLocation citationPageLocation)
-
ofCitationContentBlockLocation
final static TextCitation ofCitationContentBlockLocation(CitationContentBlockLocation citationContentBlockLocation)
-
-
-
-