public final class StructuralElement
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Docs API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
StructuralElement() |
Modifier and Type | Method and Description |
---|---|
StructuralElement |
clone() |
java.lang.Integer |
getEndIndex()
The zero-based end index of this structural element, exclusive, in UTF-16 code units.
|
Paragraph |
getParagraph()
A paragraph type of structural element.
|
SectionBreak |
getSectionBreak()
A section break type of structural element.
|
java.lang.Integer |
getStartIndex()
The zero-based start index of this structural element, in UTF-16 code units.
|
Table |
getTable()
A table type of structural element.
|
TableOfContents |
getTableOfContents()
A table of contents type of structural element.
|
StructuralElement |
set(java.lang.String fieldName,
java.lang.Object value) |
StructuralElement |
setEndIndex(java.lang.Integer endIndex)
The zero-based end index of this structural element, exclusive, in UTF-16 code units.
|
StructuralElement |
setParagraph(Paragraph paragraph)
A paragraph type of structural element.
|
StructuralElement |
setSectionBreak(SectionBreak sectionBreak)
A section break type of structural element.
|
StructuralElement |
setStartIndex(java.lang.Integer startIndex)
The zero-based start index of this structural element, in UTF-16 code units.
|
StructuralElement |
setTable(Table table)
A table type of structural element.
|
StructuralElement |
setTableOfContents(TableOfContents tableOfContents)
A table of contents type of structural element.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getEndIndex()
null
for nonepublic StructuralElement setEndIndex(java.lang.Integer endIndex)
endIndex
- endIndex or null
for nonepublic Paragraph getParagraph()
null
for nonepublic StructuralElement setParagraph(Paragraph paragraph)
paragraph
- paragraph or null
for nonepublic SectionBreak getSectionBreak()
null
for nonepublic StructuralElement setSectionBreak(SectionBreak sectionBreak)
sectionBreak
- sectionBreak or null
for nonepublic java.lang.Integer getStartIndex()
null
for nonepublic StructuralElement setStartIndex(java.lang.Integer startIndex)
startIndex
- startIndex or null
for nonepublic Table getTable()
null
for nonepublic StructuralElement setTable(Table table)
table
- table or null
for nonepublic TableOfContents getTableOfContents()
null
for nonepublic StructuralElement setTableOfContents(TableOfContents tableOfContents)
tableOfContents
- tableOfContents or null
for nonepublic StructuralElement set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public StructuralElement clone()
clone
in class com.google.api.client.json.GenericJson