public abstract class AbstractSink extends Object implements Sink, Markup
SinkEventAttributes
).
This implementation just delegates the former to the latter with argument SinkEventAttributes
being null
.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
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
Constructor and Description |
---|
AbstractSink() |
Modifier and Type | Method and Description |
---|---|
void |
address() |
void |
anchor(String name) |
void |
article() |
void |
author() |
void |
blockquote() |
void |
body() |
void |
content() |
void |
data(String value) |
void |
date() |
void |
definedTerm() |
void |
definition() |
void |
definitionList() |
void |
definitionListItem() |
void |
division() |
void |
figure() |
void |
figureCaption() |
void |
figureGraphics(String name) |
void |
footer() |
static String |
formatLocation(Locator locator)
Creates a string with line/column information.
|
Locator |
getDocumentLocator() |
protected String |
getLocationLogPrefix() |
void |
head() |
void |
header() |
void |
horizontalRule() |
protected void |
init()
This is called in
head() or in Sink.close() , and can be used
to set the sink into a clear state so it can be re-used. |
void |
inline() |
void |
lineBreak() |
void |
lineBreakOpportunity() |
void |
link(String name) |
void |
list() |
void |
listItem() |
void |
navigation() |
void |
numberedList(int numbering) |
void |
numberedListItem() |
void |
paragraph() |
void |
section1_() |
void |
section1() |
void |
section2_() |
void |
section2() |
void |
section3_() |
void |
section3() |
void |
section4_() |
void |
section4() |
void |
section5_() |
void |
section5() |
void |
section6_() |
void |
section6() |
void |
sectionTitle_() |
void |
sectionTitle() |
void |
sectionTitle1_() |
void |
sectionTitle1() |
void |
sectionTitle2_() |
void |
sectionTitle2() |
void |
sectionTitle3_() |
void |
sectionTitle3() |
void |
sectionTitle4_() |
void |
sectionTitle4() |
void |
sectionTitle5_() |
void |
sectionTitle5() |
void |
sectionTitle6_() |
void |
sectionTitle6() |
void |
setDocumentLocator(Locator locator) |
void |
sidebar() |
void |
table() |
void |
tableCaption() |
void |
tableCell() |
void |
tableHeaderCell() |
void |
tableRow() |
void |
tableRows() |
void |
text(String text) |
void |
time(String datetime) |
void |
title() |
protected static String |
unifyEOLs(String text)
Parses the given String and replaces all occurrences of
'\n', '\r' and '\r\n' with the system EOL.
|
void |
verbatim() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
address_, address, anchor_, anchor, article_, article, author_, author, blockquote_, blockquote, body_, body, bold_, bold, close, comment, content_, content, data_, data, date_, date, definedTerm_, definedTerm, definition_, definition, definitionList_, definitionList, definitionListItem_, definitionListItem, division_, division, figure_, figure, figureCaption_, figureCaption, figureGraphics, flush, footer_, footer, head_, head, header_, header, horizontalRule, inline_, inline, italic_, italic, lineBreak, lineBreakOpportunity, link_, link, list_, list, listItem_, listItem, monospaced_, monospaced, navigation_, navigation, nonBreakingSpace, numberedList_, numberedList, numberedListItem_, numberedListItem, pageBreak, paragraph_, paragraph, rawText, section_, section, sectionTitle_, sectionTitle, sidebar_, sidebar, table_, table, tableCaption_, tableCaption, tableCell_, tableCell, tableHeaderCell_, tableHeaderCell, tableRow_, tableRow, tableRows_, tableRows, text, time_, time, title_, title, unknown, verbatim_, verbatim
public AbstractSink()
public final void navigation()
navigation
in interface Sink
public final void sectionTitle()
sectionTitle
in interface Sink
public final void sectionTitle_()
sectionTitle_
in interface Sink
public final void sectionTitle1()
sectionTitle1
in interface Sink
public final void sectionTitle1_()
sectionTitle1_
in interface Sink
public final void sectionTitle2()
sectionTitle2
in interface Sink
public final void sectionTitle2_()
sectionTitle2_
in interface Sink
public final void sectionTitle3()
sectionTitle3
in interface Sink
public final void sectionTitle3_()
sectionTitle3_
in interface Sink
public final void sectionTitle4()
sectionTitle4
in interface Sink
public final void sectionTitle4_()
sectionTitle4_
in interface Sink
public final void sectionTitle5()
sectionTitle5
in interface Sink
public final void sectionTitle5_()
sectionTitle5_
in interface Sink
public final void sectionTitle6()
sectionTitle6
in interface Sink
public final void sectionTitle6_()
sectionTitle6_
in interface Sink
public final void numberedList(int numbering)
numberedList
in interface Sink
public final void numberedListItem()
numberedListItem
in interface Sink
public final void definitionList()
definitionList
in interface Sink
public final void definitionListItem()
definitionListItem
in interface Sink
public final void definition()
definition
in interface Sink
public final void definedTerm()
definedTerm
in interface Sink
public final void figureCaption()
figureCaption
in interface Sink
public final void figureGraphics(String name)
figureGraphics
in interface Sink
public final void tableHeaderCell()
tableHeaderCell
in interface Sink
public final void tableCaption()
tableCaption
in interface Sink
public final void blockquote()
blockquote
in interface Sink
public final void horizontalRule()
horizontalRule
in interface Sink
public final void lineBreakOpportunity()
lineBreakOpportunity
in interface Sink
protected static String unifyEOLs(String text)
text
- the text to scan.
May be null in which case null is returned.protected void init()
head()
or in Sink.close()
, and can be used
to set the sink into a clear state so it can be re-used.public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface Sink
public Locator getDocumentLocator()
getDocumentLocator
in interface Sink
protected String getLocationLogPrefix()
public static String formatLocation(Locator locator)
o.a.m.model.building.ModelProblemUtils.formatLocation(...)
.locator
- The locator must not be null
.null
.Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.