public class SiteRendererSink extends org.apache.maven.doxia.module.xhtml5.Xhtml5Sink implements DocumentContent
contentStack, inlineStack, tableAttributes
A, ABBR, ADDRESS, AREA, ARTICLE, ASIDE, AUDIO, B, BASE, BDI, BDO, BLOCKQUOTE, BODY, BR, BUTTON, CANVAS, CAPTION, CDATA_TYPE, CITE, CODE, COL, COLGROUP, COMMAND, DATA, DATALIST, DD, DEL, DETAILS, DFN, DIALOG, DIV, DL, DT, EM, EMBED, ENTITY_TYPE, FIELDSET, FIGCAPTION, FIGURE, FOOTER, FORM, H1, H2, H3, H4, H5, H6, HEAD, HEADER, HGROUP, HR, HTML, I, IFRAME, IMG, INPUT, INS, KBD, KEYGEN, LABEL, LEGEND, LI, LINK, MAIN, MAP, MARK, MENU, MENUITEM, META, METER, NAV, NOSCRIPT, OBJECT, OL, OPTGROUP, OPTION, OUTPUT, P, PARAM, PICTURE, PRE, PROGRESS, Q, RB, RP, RT, RTC, RUBY, S, SAMP, SCRIPT, SECTION, SELECT, SMALL, SOURCE, SPAN, STRONG, STYLE, SUB, SUMMARY, SUP, SVG, TABLE, TAG_TYPE_END, TAG_TYPE_SIMPLE, TAG_TYPE_START, TBODY, TD, TEMPLATE, TEXTAREA, TFOOT, TH, THEAD, TIME, TITLE, TR, TRACK, U, UL, VAR, VIDEO, WBR
BANG, CDATA, DOCTYPE_START, ENTITY_START, XML_NAMESPACE
COLON, EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SEMICOLON, SLASH, SPACE, STAR
JUSTIFY_CENTER, JUSTIFY_LEFT, JUSTIFY_RIGHT, NUMBERING_DECIMAL, NUMBERING_LOWER_ALPHA, NUMBERING_LOWER_ROMAN, NUMBERING_UPPER_ALPHA, NUMBERING_UPPER_ROMAN, SECTION_LEVEL_1, SECTION_LEVEL_2, SECTION_LEVEL_3, SECTION_LEVEL_4, SECTION_LEVEL_5, SECTION_LEVEL_6
Constructor and Description |
---|
SiteRendererSink(DocumentRenderingContext docRenderingContext)
Construct a new SiteRendererSink for a document.
|
Modifier and Type | Method and Description |
---|---|
void |
author_() |
void |
author(org.apache.maven.doxia.sink.SinkEventAttributes attributes) |
void |
body_()
Do nothing.
|
void |
body(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
Do nothing.
|
void |
date_() |
void |
date(org.apache.maven.doxia.sink.SinkEventAttributes attributes) |
List<String> |
getAuthors()
Get the authors of the document.
|
String |
getBody()
Get the html body of the document.
|
String |
getDate()
Get the date of the document.
|
String |
getHead()
Get the html head of the document.
|
DocumentRenderingContext |
getRenderingContext()
Get the document rendering context.
|
String |
getTitle()
Get the title of the document.
|
void |
head_() |
void |
head(org.apache.maven.doxia.sink.SinkEventAttributes attributes) |
void |
title_() |
void |
title(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
Reset text buffer, since text content before title must not be in title.
|
protected void |
write(String text) |
isHeadTitleFlag, setHeadTitleFlag
address_, address, anchor_, anchor, article_, article, blockquote_, blockquote, bold_, bold, close, comment, content_, content, content, data_, data, definedTerm_, definedTerm, definition_, definition, definitionList_, definitionList, division_, division, encodeURL, escapeHTML, figure_, figure, figureCaption_, figureCaption, figureGraphics, flush, footer_, footer, getCellCount, getCellJustif, getTextBuffer, getVerbatimMode, header_, header, horizontalRule, init, inline_, inline, isHeadFlag, isVerbatim, italic_, italic, lineBreak, lineBreakOpportunity, link_, link, list_, list, listItem_, listItem, monospaced_, monospaced, navigation_, navigation, nonBreakingSpace, numberedList_, numberedList, numberedListItem_, numberedListItem, onSection_, onSection, onSectionTitle_, onSectionTitle, pageBreak, paragraph_, paragraph, rawText, resetTextBuffer, section_, section, sectionTitle_, sectionTitle, setCellCount, setCellJustif, setHeadFlag, setVerbatimMode, sidebar_, sidebar, table_, table, tableCaption_, tableCaption, tableCell_, tableCell, tableHeaderCell_, tableHeaderCell, tableRow_, tableRow, tableRows_, tableRows, text, time_, time, unknown, verbatim_, verbatim, verbatimContent, writeEndTag, writeStartTag
getNameSpace, setInsertNewline, setNameSpace, writeEOL, writeSimpleTag, writeSimpleTag, writeStartTag, writeStartTag
definitionListItem_, definitionListItem
address, anchor, article, author, blockquote, body, content, data, date, definedTerm, definition, definitionList, definitionListItem, division, figure, figureCaption, figureGraphics, footer, formatLocation, getDocumentLocator, getLocationLogPrefix, head, header, horizontalRule, inline, lineBreak, lineBreakOpportunity, link, list, listItem, navigation, numberedList, numberedListItem, paragraph, section1_, section1, section2_, section2, section3_, section3, section4_, section4, section5_, section5, section6_, section6, sectionTitle_, sectionTitle, sectionTitle1_, sectionTitle1, sectionTitle2_, sectionTitle2, sectionTitle3_, sectionTitle3, sectionTitle4_, sectionTitle4, sectionTitle5_, sectionTitle5, sectionTitle6_, sectionTitle6, setDocumentLocator, sidebar, table, tableCaption, tableCell, tableHeaderCell, tableRow, tableRows, text, time, title, unifyEOLs, verbatim
public SiteRendererSink(DocumentRenderingContext docRenderingContext)
docRenderingContext
- the document's rendering context.public void title_()
title_
in interface org.apache.maven.doxia.sink.Sink
title_
in class org.apache.maven.doxia.module.xhtml5.Xhtml5Sink
public void title(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
title
in interface org.apache.maven.doxia.sink.Sink
title
in class org.apache.maven.doxia.module.xhtml5.Xhtml5Sink
AbstractSink.title()
public void author(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
author
in interface org.apache.maven.doxia.sink.Sink
author
in class org.apache.maven.doxia.sink.impl.SinkAdapter
public void author_()
author_
in interface org.apache.maven.doxia.sink.Sink
author_
in class org.apache.maven.doxia.module.xhtml5.Xhtml5Sink
public void date(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
date
in interface org.apache.maven.doxia.sink.Sink
date
in class org.apache.maven.doxia.sink.impl.SinkAdapter
public void date_()
date_
in interface org.apache.maven.doxia.sink.Sink
date_
in class org.apache.maven.doxia.module.xhtml5.Xhtml5Sink
public void body_()
body_
in interface org.apache.maven.doxia.sink.Sink
body_
in class org.apache.maven.doxia.module.xhtml5.Xhtml5Sink
Xhtml5Sink.body_()
public void body(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
body
in interface org.apache.maven.doxia.sink.Sink
body
in class org.apache.maven.doxia.module.xhtml5.Xhtml5Sink
AbstractSink.body()
public void head_()
head_
in interface org.apache.maven.doxia.sink.Sink
head_
in class org.apache.maven.doxia.module.xhtml5.Xhtml5Sink
public void head(org.apache.maven.doxia.sink.SinkEventAttributes attributes)
head
in interface org.apache.maven.doxia.sink.Sink
head
in class org.apache.maven.doxia.module.xhtml5.Xhtml5Sink
protected void write(String text)
write
in class org.apache.maven.doxia.sink.impl.Xhtml5BaseSink
public String getTitle()
getTitle
in interface DocumentContent
public List<String> getAuthors()
getAuthors
in interface DocumentContent
public String getDate()
getDate
in interface DocumentContent
public String getBody()
getBody
in interface DocumentContent
public String getHead()
getHead
in interface DocumentContent
public DocumentRenderingContext getRenderingContext()
getRenderingContext
in interface DocumentContent
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.