Modifier and Type | Field and Description |
---|---|
protected Element |
body |
protected Document |
document |
protected Element |
head |
protected Element |
root |
protected Element |
title |
protected Text |
titleText |
Constructor and Description |
---|
TextDocumentFacade(Document document) |
Modifier and Type | Method and Description |
---|---|
void |
addAuthor(String value) |
void |
addDescription(String value) |
void |
addKeywords(String value) |
void |
addMeta(String name,
String value) |
Element |
createBlock() |
Element |
createHeader1() |
Element |
createHeader2() |
Element |
createParagraph() |
Element |
createTable() |
Element |
createTableBody() |
Element |
createTableCell() |
Element |
createTableRow() |
Text |
createText(String data) |
Element |
createUnorderedList() |
Element |
getBody() |
Document |
getDocument() |
Element |
getHead() |
String |
getTitle() |
void |
setTitle(String titleText) |
protected final Element body
protected final Document document
protected final Element head
protected final Element root
protected Element title
protected Text titleText
public TextDocumentFacade(Document document)
public void addAuthor(String value)
public void addDescription(String value)
public void addKeywords(String value)
public Element createBlock()
public Element createHeader1()
public Element createHeader2()
public Element createParagraph()
public Element createTable()
public Element createTableBody()
public Element createTableCell()
public Element createTableRow()
public Element createUnorderedList()
public Element getBody()
public Document getDocument()
public Element getHead()
public String getTitle()
public void setTitle(String titleText)
Copyright © 2020. All rights reserved.