Class DocStructure
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.compare_comply.v1.model.DocStructure
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DocStructure
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The structure of the input document.
-
Constructor Summary
Constructors Constructor Description DocStructure()
-
Method Summary
Modifier and Type Method Description List<LeadingSentence>
getLeadingSentences()
Gets the leadingSentences.List<Paragraphs>
getParagraphs()
Gets the paragraphs.List<SectionTitles>
getSectionTitles()
Gets the sectionTitles.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
DocStructure
public DocStructure()
-
-
Method Details
-
getSectionTitles
Gets the sectionTitles.An array containing one object per section or subsection identified in the input document.
- Returns:
- the sectionTitles
-
getLeadingSentences
Gets the leadingSentences.An array containing one object per section or subsection, in parallel with the `section_titles` array, that details the leading sentences in the corresponding section or subsection.
- Returns:
- the leadingSentences
-
getParagraphs
Gets the paragraphs.An array containing one object per paragraph, in parallel with the `section_titles` and `leading_sentences` arrays.
- Returns:
- the paragraphs
-