public static class DocContent.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DocContent |
build() |
DocContent.Builder |
bullet(DocBullet bullet)
无序列表
示例值:
|
DocContent.Builder |
children(String[] children)
子节点
示例值:
|
DocContent.Builder |
code(DocCode code)
代码块
示例值:
|
DocContent.Builder |
container(DocContainer container)
容器
示例值:
|
DocContent.Builder |
contentType(DocContentContentTypeEnum contentType)
内容类型
示例值:1
|
DocContent.Builder |
contentType(Integer contentType)
内容类型
示例值:1
|
DocContent.Builder |
divider(DocDivider divider)
分割线
示例值:
|
DocContent.Builder |
heading(DocHeading heading)
标题
示例值:
|
DocContent.Builder |
id(String id)
节点ID
示例值:xxxxx
|
DocContent.Builder |
image(DocImage image)
图片
示例值:
|
DocContent.Builder |
link(DocLink link)
链接
示例值:
|
DocContent.Builder |
ordered(DocRodered ordered)
有序列表
示例值:
|
DocContent.Builder |
text(DocText text)
纯文本
示例值:
|
DocContent.Builder |
user(DocUser user)
用户
示例值:
|
public DocContent.Builder id(String id)
示例值:xxxxx
id - public DocContent.Builder children(String[] children)
示例值:
children - public DocContent.Builder contentType(Integer contentType)
示例值:1
contentType - public DocContent.Builder contentType(DocContentContentTypeEnum contentType)
示例值:1
contentType - DocContentContentTypeEnumpublic DocContent.Builder text(DocText text)
示例值:
text - public DocContent.Builder heading(DocHeading heading)
示例值:
heading - public DocContent.Builder bullet(DocBullet bullet)
示例值:
bullet - public DocContent.Builder ordered(DocRodered ordered)
示例值:
ordered - public DocContent.Builder code(DocCode code)
示例值:
code - public DocContent.Builder link(DocLink link)
示例值:
link - public DocContent.Builder image(DocImage image)
示例值:
image - public DocContent.Builder user(DocUser user)
示例值:
user - public DocContent.Builder divider(DocDivider divider)
示例值:
divider - public DocContent.Builder container(DocContainer container)
示例值:
container - public DocContent build()
Copyright © 2025. All rights reserved.