|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SinkEventAttributes in org.apache.maven.doxia.macro |
---|
Methods in org.apache.maven.doxia.macro that return SinkEventAttributes | |
---|---|
protected static SinkEventAttributes |
AbstractMacro.getAttributesFromMap(Map<?,?> parameters)
Convert the Map of macro parameters to an AttributeSet. |
Uses of SinkEventAttributes in org.apache.maven.doxia.module.apt |
---|
Methods in org.apache.maven.doxia.module.apt with parameters of type SinkEventAttributes | |
---|---|
void |
AptSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. This may be used by parsers to notify a general Sink about an event that doesn't fit into any event defined by the Sink API. Depending on the parameters, a Sink may decide whether or not to process the event, emit it as raw text, as a comment, log it, etc. Unkown events just log a warning message but are ignored otherwise. |
Uses of SinkEventAttributes in org.apache.maven.doxia.module.confluence |
---|
Methods in org.apache.maven.doxia.module.confluence with parameters of type SinkEventAttributes | |
---|---|
void |
ConfluenceSink.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor.
The ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
Supported attributes are the |
void |
ConfluenceSink.author(SinkEventAttributes attributes)
Starts an author element. This is used to identify the author of the document.
Supported attributes are: |
void |
ConfluenceSink.body(SinkEventAttributes attributes)
Starts the body of a document. This contains the document's content.
Supported attributes are the |
void |
ConfluenceSink.date(SinkEventAttributes attributes)
Starts the date element. This is used to identify the date of the document. Supported attributes are: none. |
void |
ConfluenceSink.definedTerm(SinkEventAttributes attributes)
Starts a definition term element within a definition list.
Supported attributes are the |
void |
ConfluenceSink.definition(SinkEventAttributes attributes)
Not used. |
void |
ConfluenceSink.definitionList(SinkEventAttributes attributes)
Not used. |
void |
ConfluenceSink.definitionListItem(SinkEventAttributes attributes)
Not used. |
void |
ConfluenceSink.figure(SinkEventAttributes attributes)
Starts a basic image embedding element. The canonical sequence of events for the figure element is: sink.figure(); sink.figureGraphics( "figure.png" ); sink.figureCaption(); sink.text( "Figure caption",); sink.figureCaption_(); sink.figure_(); where the figureCaption element is optional. However, NOTE that the order of figureCaption and figureGraphics events is arbitrary, ie a parser may emit the figureCaption before or after the figureGraphics. Implementing sinks should be prepared to handle both possibilities.
NOTE also that the figureGraphics() event does not have to be embedded
inside figure(), in particular for in-line images the figureGraphics() should be used
stand-alone (in HTML language, figureGraphics() produces a
Supported attributes are the |
void |
ConfluenceSink.figureCaption(SinkEventAttributes attributes)
Starts a figure caption.
Supported attributes are the |
void |
ConfluenceSink.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element.
The
Supported attributes are the
If the |
void |
ConfluenceSink.head(SinkEventAttributes attributes)
Starts the head element.
This contains information about the current document, (eg its title) that is not
considered document content. The head element is optional but if it exists, it has to be
unique within a sequence of Sink events that produces one output document, and it has
to come before the The canonical sequence of events for the head element is: sink.head(); sink.title(); sink.text( "Title" ); sink.title_(); sink.author(); sink.text( "Author" ); sink.author_(); sink.date(); sink.text( "Date" ); sink.date_(); sink.head_(); but none of the enclosed events is required. However, if they exist they have to occur in the order shown, and the title() and date() events have to be unique (author() events may occur any number of times). Supported attributes are:
|
void |
ConfluenceSink.horizontalRule(SinkEventAttributes attributes)
Adds a horizontal separator rule.
Supported attributes are the
|
void |
ConfluenceSink.lineBreak(SinkEventAttributes attributes)
Adds a line break. Supported attributes are:
|
void |
ConfluenceSink.link(String name,
SinkEventAttributes attributes)
Starts a link.
The
Supported attributes are the
If |
void |
ConfluenceSink.list(SinkEventAttributes attributes)
Starts an unordered list.
Supported attributes are the |
void |
ConfluenceSink.listItem(SinkEventAttributes attributes)
Starts a list item element within an unordered list.
Supported attributes are the |
void |
ConfluenceSink.numberedList(int numbering,
SinkEventAttributes attributes)
Starts an ordered list element.
Supported attributes are the |
void |
ConfluenceSink.numberedListItem(SinkEventAttributes attributes)
Starts a list item element within an ordered list.
Supported attributes are the |
void |
ConfluenceSink.paragraph(SinkEventAttributes attributes)
Starts a paragraph.
Supported attributes are the |
void |
ConfluenceSink.section(int level,
SinkEventAttributes attributes)
Not used. |
void |
ConfluenceSink.sectionTitle(int level,
SinkEventAttributes attributes)
Start a new section title at the given level.
This element is optional, but if it exists, it has to be contained, and be the first
element, within a corresponding NOTE: It is strongly recommended not to make section titles implicit anchors. Neither Parsers nor Sinks should insert any content that is not explicitly present in the original source document, as this would lead to undefined behaviour for multi-format processing chains. However, while Parsers must never emit anchors for section titles, some specialized Sinks may implement such a feature if the resulting output documents are not going to be further processed (and this is properly documented).
Supported attributes are the |
void |
ConfluenceSink.table(SinkEventAttributes attributes)
Starts a table. The canonical sequence of events for the table element is: sink.table(); sink.tableRows( justify, true ); sink.tableRow(); sink.tableCell(); sink.text( "cell 1,1" ); sink.tableCell_(); sink.tableCell(); sink.text( "cell 1,2" ); sink.tableCell_(); sink.tableRow_(); sink.tableRows_(); sink.tableCaption(); sink.text( "Table caption" ); sink.tableCaption_(); sink.table_(); where the tableCaption element is optional.
However, NOTE that the order of tableCaption and
Supported attributes are the
|
void |
ConfluenceSink.tableCaption(SinkEventAttributes attributes)
Starts a table caption.
Note that the order of tableCaption and
Supported attributes are the |
void |
ConfluenceSink.tableCell(SinkEventAttributes attributes)
Starts a table cell.
Supported attributes are the
|
void |
ConfluenceSink.tableHeaderCell(SinkEventAttributes attributes)
Starts a table header cell.
Supported attributes are the same as for |
void |
ConfluenceSink.tableRow(SinkEventAttributes attributes)
Starts a table row.
Supported attributes are the
|
void |
ConfluenceSink.text(String text,
SinkEventAttributes attributes)
Adds a text.
The
If
Supported attributes are the
|
void |
ConfluenceSink.title(SinkEventAttributes attributes)
Starts the title element. This is used to identify the document.
Supported attributes are the |
void |
ConfluenceSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Not used. |
Uses of SinkEventAttributes in org.apache.maven.doxia.module.docbook |
---|
Methods in org.apache.maven.doxia.module.docbook with parameters of type SinkEventAttributes | |
---|---|
void |
DocBookSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. This may be used by parsers to notify a general Sink about an event that doesn't fit into any event defined by the Sink API. Depending on the parameters, a Sink may decide whether or not to process the event, emit it as raw text, as a comment, log it, etc. Unknown events just log a warning message but are ignored otherwise. |
Uses of SinkEventAttributes in org.apache.maven.doxia.module.fo |
---|
Methods in org.apache.maven.doxia.module.fo with parameters of type SinkEventAttributes | |
---|---|
void |
FoSink.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor.
The ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
Supported attributes are the |
void |
FoAggregateSink.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor.
The ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
Supported attributes are the |
void |
FoSink.author(SinkEventAttributes attributes)
Starts an author element. This is used to identify the author of the document.
Supported attributes are: |
void |
FoAggregateSink.author(SinkEventAttributes attributes)
Starts an author element. This is used to identify the author of the document.
Supported attributes are: |
void |
FoSink.body(SinkEventAttributes attributes)
Starts the body of a document. This contains the document's content.
Supported attributes are the |
void |
FoAggregateSink.body(SinkEventAttributes attributes)
Starts the body of a document. This contains the document's content.
Supported attributes are the |
void |
FoSink.date(SinkEventAttributes attributes)
Starts the date element. This is used to identify the date of the document. Supported attributes are: none. |
void |
FoAggregateSink.date(SinkEventAttributes attributes)
Starts the date element. This is used to identify the date of the document. Supported attributes are: none. |
void |
FoSink.definedTerm(SinkEventAttributes attributes)
Starts a definition term element within a definition list.
Supported attributes are the |
void |
FoSink.definition(SinkEventAttributes attributes)
Starts a definition element within a definition list.
Supported attributes are the |
void |
FoSink.definitionList(SinkEventAttributes attributes)
Starts a definition list.
Supported attributes are the |
void |
FoSink.definitionListItem(SinkEventAttributes attributes)
Starts a list item element within a definition list.
Every definitionListItem has to contain exactly one
Supported attributes are the |
void |
FoSink.figure(SinkEventAttributes attributes)
Starts a basic image embedding element. The canonical sequence of events for the figure element is: sink.figure(); sink.figureGraphics( "figure.png" ); sink.figureCaption(); sink.text( "Figure caption",); sink.figureCaption_(); sink.figure_(); where the figureCaption element is optional. However, NOTE that the order of figureCaption and figureGraphics events is arbitrary, ie a parser may emit the figureCaption before or after the figureGraphics. Implementing sinks should be prepared to handle both possibilities.
NOTE also that the figureGraphics() event does not have to be embedded
inside figure(), in particular for in-line images the figureGraphics() should be used
stand-alone (in HTML language, figureGraphics() produces a
Supported attributes are the |
void |
FoSink.figureCaption(SinkEventAttributes attributes)
Starts a figure caption.
Supported attributes are the |
void |
FoSink.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element.
The
Supported attributes are the
If the |
void |
FoAggregateSink.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element.
The
Supported attributes are the
If the |
void |
FoSink.head(SinkEventAttributes attributes)
Starts the head element.
This contains information about the current document, (eg its title) that is not
considered document content. The head element is optional but if it exists, it has to be
unique within a sequence of Sink events that produces one output document, and it has
to come before the The canonical sequence of events for the head element is: sink.head(); sink.title(); sink.text( "Title" ); sink.title_(); sink.author(); sink.text( "Author" ); sink.author_(); sink.date(); sink.text( "Date" ); sink.date_(); sink.head_(); but none of the enclosed events is required. However, if they exist they have to occur in the order shown, and the title() and date() events have to be unique (author() events may occur any number of times). Supported attributes are:
|
void |
FoAggregateSink.head(SinkEventAttributes attributes)
Starts the head element.
This contains information about the current document, (eg its title) that is not
considered document content. The head element is optional but if it exists, it has to be
unique within a sequence of Sink events that produces one output document, and it has
to come before the The canonical sequence of events for the head element is: sink.head(); sink.title(); sink.text( "Title" ); sink.title_(); sink.author(); sink.text( "Author" ); sink.author_(); sink.date(); sink.text( "Date" ); sink.date_(); sink.head_(); but none of the enclosed events is required. However, if they exist they have to occur in the order shown, and the title() and date() events have to be unique (author() events may occur any number of times). Supported attributes are:
|
void |
FoSink.horizontalRule(SinkEventAttributes attributes)
Adds a horizontal separator rule.
Supported attributes are the
|
void |
FoSink.lineBreak(SinkEventAttributes attributes)
Adds a line break. Supported attributes are:
|
void |
FoSink.link(String name,
SinkEventAttributes attributes)
Starts a link.
The
Supported attributes are the
If |
void |
FoAggregateSink.link(String name,
SinkEventAttributes attributes)
Starts a link.
The
Supported attributes are the
If |
void |
FoSink.list(SinkEventAttributes attributes)
Starts an unordered list.
Supported attributes are the |
void |
FoSink.listItem(SinkEventAttributes attributes)
Starts a list item element within an unordered list.
Supported attributes are the |
void |
FoSink.numberedList(int numbering,
SinkEventAttributes attributes)
Starts an ordered list element.
Supported attributes are the |
void |
FoSink.numberedListItem(SinkEventAttributes attributes)
Starts a list item element within an ordered list.
Supported attributes are the |
void |
FoSink.paragraph(SinkEventAttributes attributes)
Starts a paragraph.
Supported attributes are the |
void |
FoSink.section(int level,
SinkEventAttributes attributes)
Start a new section at the given level. Sections with higher level have to be entirely contained within sections of lower level.
Supported attributes are the |
void |
FoSink.sectionTitle(int level,
SinkEventAttributes attributes)
Start a new section title at the given level.
This element is optional, but if it exists, it has to be contained, and be the first
element, within a corresponding NOTE: It is strongly recommended not to make section titles implicit anchors. Neither Parsers nor Sinks should insert any content that is not explicitly present in the original source document, as this would lead to undefined behaviour for multi-format processing chains. However, while Parsers must never emit anchors for section titles, some specialized Sinks may implement such a feature if the resulting output documents are not going to be further processed (and this is properly documented).
Supported attributes are the |
void |
FoSink.table(SinkEventAttributes attributes)
Starts a table. The canonical sequence of events for the table element is: sink.table(); sink.tableRows( justify, true ); sink.tableRow(); sink.tableCell(); sink.text( "cell 1,1" ); sink.tableCell_(); sink.tableCell(); sink.text( "cell 1,2" ); sink.tableCell_(); sink.tableRow_(); sink.tableRows_(); sink.tableCaption(); sink.text( "Table caption" ); sink.tableCaption_(); sink.table_(); where the tableCaption element is optional.
However, NOTE that the order of tableCaption and
Supported attributes are the
|
void |
FoSink.tableCaption(SinkEventAttributes attributes)
Starts a table caption.
Note that the order of tableCaption and
Supported attributes are the |
void |
FoSink.tableCell(SinkEventAttributes attributes)
Starts a table cell.
Supported attributes are the
|
void |
FoSink.tableHeaderCell(SinkEventAttributes attributes)
Starts a table header cell.
Supported attributes are the same as for |
void |
FoSink.tableRow(SinkEventAttributes attributes)
Starts a table row.
Supported attributes are the
|
void |
FoSink.text(String text,
SinkEventAttributes attributes)
Adds a text.
The
If
Supported attributes are the
|
void |
FoSink.title(SinkEventAttributes attributes)
Starts the title element. This is used to identify the document.
Supported attributes are the |
void |
FoAggregateSink.title(SinkEventAttributes attributes)
Starts the title element. This is used to identify the document.
Supported attributes are the |
void |
FoSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. This may be used by parsers to notify a general Sink about an event that doesn't fit into any event defined by the Sink API. Depending on the parameters, a Sink may decide whether or not to process the event, emit it as raw text, as a comment, log it, etc. Unkown events just log a warning message but are ignored otherwise. |
void |
FoSink.verbatim(SinkEventAttributes attributes)
Starts a verbatim block, ie a block where whitespace has semantic relevance. Text in a verbatim block must only be wrapped at the linebreaks in the source, and spaces should not be collapsed. It should be displayed in a fixed-width font to retain the formatting but the overall size may be chosen by the implementation. Most Sink events may be emitted within a verbatim block, the only elements explicitly forbidden are font-changing events and figures. Also, verbatim blocks may not be nested.
Supported attributes are the
|
Uses of SinkEventAttributes in org.apache.maven.doxia.module.itext |
---|
Methods in org.apache.maven.doxia.module.itext with parameters of type SinkEventAttributes | |
---|---|
void |
ITextSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. This may be used by parsers to notify a general Sink about an event that doesn't fit into any event defined by the Sink API. Depending on the parameters, a Sink may decide whether or not to process the event, emit it as raw text, as a comment, log it, etc. Unkown events just log a warning message but are ignored otherwise. |
Uses of SinkEventAttributes in org.apache.maven.doxia.module.latex |
---|
Methods in org.apache.maven.doxia.module.latex with parameters of type SinkEventAttributes | |
---|---|
void |
LatexSink.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor.
The ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
Supported attributes are the |
void |
LatexSink.author(SinkEventAttributes attributes)
Starts an author element. This is used to identify the author of the document.
Supported attributes are: |
void |
LatexSink.body(SinkEventAttributes attributes)
Starts the body of a document. This contains the document's content.
Supported attributes are the |
void |
LatexSink.date(SinkEventAttributes attributes)
Starts the date element. This is used to identify the date of the document. Supported attributes are: none. |
void |
LatexSink.definedTerm(SinkEventAttributes attributes)
Starts a definition term element within a definition list.
Supported attributes are the |
void |
LatexSink.definition(SinkEventAttributes attributes)
Starts a definition element within a definition list.
Supported attributes are the |
void |
LatexSink.definitionList(SinkEventAttributes attributes)
Starts a definition list.
Supported attributes are the |
void |
LatexSink.definitionListItem(SinkEventAttributes attributes)
Starts a list item element within a definition list.
Every definitionListItem has to contain exactly one
Supported attributes are the |
void |
LatexSink.figure(SinkEventAttributes attributes)
Starts a basic image embedding element. The canonical sequence of events for the figure element is: sink.figure(); sink.figureGraphics( "figure.png" ); sink.figureCaption(); sink.text( "Figure caption",); sink.figureCaption_(); sink.figure_(); where the figureCaption element is optional. However, NOTE that the order of figureCaption and figureGraphics events is arbitrary, ie a parser may emit the figureCaption before or after the figureGraphics. Implementing sinks should be prepared to handle both possibilities.
NOTE also that the figureGraphics() event does not have to be embedded
inside figure(), in particular for in-line images the figureGraphics() should be used
stand-alone (in HTML language, figureGraphics() produces a
Supported attributes are the |
void |
LatexSink.figureCaption(SinkEventAttributes attributes)
Starts a figure caption.
Supported attributes are the |
void |
LatexSink.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element.
The
Supported attributes are the
If the |
void |
LatexSink.head(SinkEventAttributes attributes)
Starts the head element.
This contains information about the current document, (eg its title) that is not
considered document content. The head element is optional but if it exists, it has to be
unique within a sequence of Sink events that produces one output document, and it has
to come before the The canonical sequence of events for the head element is: sink.head(); sink.title(); sink.text( "Title" ); sink.title_(); sink.author(); sink.text( "Author" ); sink.author_(); sink.date(); sink.text( "Date" ); sink.date_(); sink.head_(); but none of the enclosed events is required. However, if they exist they have to occur in the order shown, and the title() and date() events have to be unique (author() events may occur any number of times). Supported attributes are:
|
void |
LatexSink.horizontalRule(SinkEventAttributes attributes)
Adds a horizontal separator rule.
Supported attributes are the
|
void |
LatexSink.lineBreak(SinkEventAttributes attributes)
Adds a line break. Supported attributes are:
|
void |
LatexSink.link(String name,
SinkEventAttributes attributes)
Starts a link.
The
Supported attributes are the
If |
void |
LatexSink.list(SinkEventAttributes attributes)
Starts an unordered list.
Supported attributes are the |
void |
LatexSink.listItem(SinkEventAttributes attributes)
Starts a list item element within an unordered list.
Supported attributes are the |
void |
LatexSink.numberedList(int numbering,
SinkEventAttributes attributes)
Starts an ordered list element.
Supported attributes are the |
void |
LatexSink.numberedListItem(SinkEventAttributes attributes)
Starts a list item element within an ordered list.
Supported attributes are the |
void |
LatexSink.paragraph(SinkEventAttributes attributes)
Starts a paragraph.
Supported attributes are the |
void |
LatexSink.sectionTitle(int level,
SinkEventAttributes attributes)
Start a new section title at the given level.
This element is optional, but if it exists, it has to be contained, and be the first
element, within a corresponding NOTE: It is strongly recommended not to make section titles implicit anchors. Neither Parsers nor Sinks should insert any content that is not explicitly present in the original source document, as this would lead to undefined behaviour for multi-format processing chains. However, while Parsers must never emit anchors for section titles, some specialized Sinks may implement such a feature if the resulting output documents are not going to be further processed (and this is properly documented).
Supported attributes are the |
void |
LatexSink.table(SinkEventAttributes attributes)
Starts a table. The canonical sequence of events for the table element is: sink.table(); sink.tableRows( justify, true ); sink.tableRow(); sink.tableCell(); sink.text( "cell 1,1" ); sink.tableCell_(); sink.tableCell(); sink.text( "cell 1,2" ); sink.tableCell_(); sink.tableRow_(); sink.tableRows_(); sink.tableCaption(); sink.text( "Table caption" ); sink.tableCaption_(); sink.table_(); where the tableCaption element is optional.
However, NOTE that the order of tableCaption and
Supported attributes are the
|
void |
LatexSink.tableCaption(SinkEventAttributes attributes)
Starts a table caption.
Note that the order of tableCaption and
Supported attributes are the |
void |
LatexSink.tableCell(SinkEventAttributes attributes)
Starts a table cell.
Supported attributes are the
|
void |
LatexSink.tableHeaderCell(SinkEventAttributes attributes)
Starts a table header cell.
Supported attributes are the same as for |
void |
LatexSink.tableRow(SinkEventAttributes attributes)
Starts a table row.
Supported attributes are the
|
void |
LatexSink.text(String text,
SinkEventAttributes attributes)
Adds a text.
The
If
Supported attributes are the
|
void |
LatexSink.title(SinkEventAttributes attributes)
Starts the title element. This is used to identify the document.
Supported attributes are the |
void |
LatexSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. This may be used by parsers to notify a general Sink about an event that doesn't fit into any event defined by the Sink API. Depending on the parameters, a Sink may decide whether or not to process the event, emit it as raw text, as a comment, log it, etc. Unkown events just log a warning message but are ignored otherwise. |
void |
LatexSink.verbatim(SinkEventAttributes attributes)
Starts a verbatim block, ie a block where whitespace has semantic relevance. Text in a verbatim block must only be wrapped at the linebreaks in the source, and spaces should not be collapsed. It should be displayed in a fixed-width font to retain the formatting but the overall size may be chosen by the implementation. Most Sink events may be emitted within a verbatim block, the only elements explicitly forbidden are font-changing events and figures. Also, verbatim blocks may not be nested.
Supported attributes are the
|
Uses of SinkEventAttributes in org.apache.maven.doxia.module.rtf |
---|
Methods in org.apache.maven.doxia.module.rtf with parameters of type SinkEventAttributes | |
---|---|
void |
RtfSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. This may be used by parsers to notify a general Sink about an event that doesn't fit into any event defined by the Sink API. Depending on the parameters, a Sink may decide whether or not to process the event, emit it as raw text, as a comment, log it, etc. Unkown events just log a warning message but are ignored otherwise. |
Uses of SinkEventAttributes in org.apache.maven.doxia.module.twiki |
---|
Methods in org.apache.maven.doxia.module.twiki with parameters of type SinkEventAttributes | |
---|---|
void |
TWikiSink.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor.
The ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
Supported attributes are the |
void |
TWikiSink.author(SinkEventAttributes attributes)
Starts an author element. This is used to identify the author of the document.
Supported attributes are: |
void |
TWikiSink.body(SinkEventAttributes attributes)
Starts the body of a document. This contains the document's content.
Supported attributes are the |
void |
TWikiSink.date(SinkEventAttributes attributes)
Starts the date element. This is used to identify the date of the document. Supported attributes are: none. |
void |
TWikiSink.definedTerm(SinkEventAttributes attributes)
Starts a definition term element within a definition list.
Supported attributes are the |
void |
TWikiSink.definition(SinkEventAttributes attributes)
Starts a definition element within a definition list.
Supported attributes are the |
void |
TWikiSink.definitionList(SinkEventAttributes attributes)
Starts a definition list.
Supported attributes are the |
void |
TWikiSink.definitionListItem(SinkEventAttributes attributes)
Starts a list item element within a definition list.
Every definitionListItem has to contain exactly one
Supported attributes are the |
void |
TWikiSink.figure(SinkEventAttributes attributes)
Starts a basic image embedding element. The canonical sequence of events for the figure element is: sink.figure(); sink.figureGraphics( "figure.png" ); sink.figureCaption(); sink.text( "Figure caption",); sink.figureCaption_(); sink.figure_(); where the figureCaption element is optional. However, NOTE that the order of figureCaption and figureGraphics events is arbitrary, ie a parser may emit the figureCaption before or after the figureGraphics. Implementing sinks should be prepared to handle both possibilities.
NOTE also that the figureGraphics() event does not have to be embedded
inside figure(), in particular for in-line images the figureGraphics() should be used
stand-alone (in HTML language, figureGraphics() produces a
Supported attributes are the |
void |
TWikiSink.figureCaption(SinkEventAttributes attributes)
Starts a figure caption.
Supported attributes are the |
void |
TWikiSink.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element.
The
Supported attributes are the
If the |
void |
TWikiSink.head(SinkEventAttributes attributes)
Starts the head element.
This contains information about the current document, (eg its title) that is not
considered document content. The head element is optional but if it exists, it has to be
unique within a sequence of Sink events that produces one output document, and it has
to come before the The canonical sequence of events for the head element is: sink.head(); sink.title(); sink.text( "Title" ); sink.title_(); sink.author(); sink.text( "Author" ); sink.author_(); sink.date(); sink.text( "Date" ); sink.date_(); sink.head_(); but none of the enclosed events is required. However, if they exist they have to occur in the order shown, and the title() and date() events have to be unique (author() events may occur any number of times). Supported attributes are:
|
void |
TWikiSink.horizontalRule(SinkEventAttributes attributes)
Adds a horizontal separator rule.
Supported attributes are the
|
void |
TWikiSink.lineBreak(SinkEventAttributes attributes)
Adds a line break. Supported attributes are:
|
void |
TWikiSink.link(String name,
SinkEventAttributes attributes)
Starts a link.
The
Supported attributes are the
If |
void |
TWikiSink.list(SinkEventAttributes attributes)
Starts an unordered list.
Supported attributes are the |
void |
TWikiSink.listItem(SinkEventAttributes attributes)
Starts a list item element within an unordered list.
Supported attributes are the |
void |
TWikiSink.numberedList(int numbering,
SinkEventAttributes attributes)
Starts an ordered list element.
Supported attributes are the |
void |
TWikiSink.numberedListItem(SinkEventAttributes attributes)
Starts a list item element within an ordered list.
Supported attributes are the |
void |
TWikiSink.paragraph(SinkEventAttributes attributes)
Starts a paragraph.
Supported attributes are the |
void |
TWikiSink.section(int level,
SinkEventAttributes attributes)
Not used. |
void |
TWikiSink.sectionTitle(int level,
SinkEventAttributes attributes)
Start a new section title at the given level.
This element is optional, but if it exists, it has to be contained, and be the first
element, within a corresponding NOTE: It is strongly recommended not to make section titles implicit anchors. Neither Parsers nor Sinks should insert any content that is not explicitly present in the original source document, as this would lead to undefined behaviour for multi-format processing chains. However, while Parsers must never emit anchors for section titles, some specialized Sinks may implement such a feature if the resulting output documents are not going to be further processed (and this is properly documented).
Supported attributes are the |
void |
TWikiSink.table(SinkEventAttributes attributes)
Starts a table. The canonical sequence of events for the table element is: sink.table(); sink.tableRows( justify, true ); sink.tableRow(); sink.tableCell(); sink.text( "cell 1,1" ); sink.tableCell_(); sink.tableCell(); sink.text( "cell 1,2" ); sink.tableCell_(); sink.tableRow_(); sink.tableRows_(); sink.tableCaption(); sink.text( "Table caption" ); sink.tableCaption_(); sink.table_(); where the tableCaption element is optional.
However, NOTE that the order of tableCaption and
Supported attributes are the
|
void |
TWikiSink.tableCaption(SinkEventAttributes attributes)
Starts a table caption.
Note that the order of tableCaption and
Supported attributes are the |
void |
TWikiSink.tableCell(SinkEventAttributes attributes)
Starts a table cell.
Supported attributes are the
|
void |
TWikiSink.tableHeaderCell(SinkEventAttributes attributes)
Starts a table header cell.
Supported attributes are the same as for |
void |
TWikiSink.tableRow(SinkEventAttributes attributes)
Starts a table row.
Supported attributes are the
|
void |
TWikiSink.text(String text,
SinkEventAttributes attributes)
Adds a text.
The
If
Supported attributes are the
|
void |
TWikiSink.title(SinkEventAttributes attributes)
Starts the title element. This is used to identify the document.
Supported attributes are the |
void |
TWikiSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Not used. |
void |
TWikiSink.verbatim(SinkEventAttributes attributes)
Starts a verbatim block, ie a block where whitespace has semantic relevance. Text in a verbatim block must only be wrapped at the linebreaks in the source, and spaces should not be collapsed. It should be displayed in a fixed-width font to retain the formatting but the overall size may be chosen by the implementation. Most Sink events may be emitted within a verbatim block, the only elements explicitly forbidden are font-changing events and figures. Also, verbatim blocks may not be nested.
Supported attributes are the
|
Uses of SinkEventAttributes in org.apache.maven.doxia.module.xdoc |
---|
Methods in org.apache.maven.doxia.module.xdoc with parameters of type SinkEventAttributes | |
---|---|
void |
XdocSink.body(SinkEventAttributes attributes)
Starts the body of a document. This contains the document's content.
Supported attributes are the |
void |
XdocSink.head(SinkEventAttributes attributes)
Starts the head element.
This contains information about the current document, (eg its title) that is not
considered document content. The head element is optional but if it exists, it has to be
unique within a sequence of Sink events that produces one output document, and it has
to come before the The canonical sequence of events for the head element is: sink.head(); sink.title(); sink.text( "Title" ); sink.title_(); sink.author(); sink.text( "Author" ); sink.author_(); sink.date(); sink.text( "Date" ); sink.date_(); sink.head_(); but none of the enclosed events is required. However, if they exist they have to occur in the order shown, and the title() and date() events have to be unique (author() events may occur any number of times). Supported attributes are:
|
protected void |
XdocSink.onSection(int depth,
SinkEventAttributes attributes)
Starts a section. Starts a section. |
protected void |
XdocSink.onSectionTitle(int depth,
SinkEventAttributes attributes)
Starts a section title. Starts a section title. |
void |
XdocSink.verbatim(SinkEventAttributes attributes)
The default class style for boxed is source . |
Uses of SinkEventAttributes in org.apache.maven.doxia.sink |
---|
Classes in org.apache.maven.doxia.sink that implement SinkEventAttributes | |
---|---|
class |
SinkEventAttributeSet
Implementation of MutableAttributeSet using a LinkedHashMap. |
Fields in org.apache.maven.doxia.sink declared as SinkEventAttributes | |
---|---|
static SinkEventAttributes |
SinkEventAttributeSet.BOLD
An unmodifiable attribute set containing only a bold attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.BOXED
An unmodifiable attribute set containing only a boxed attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.CENTER
An unmodifiable attribute set containing only a center attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.ITALIC
An unmodifiable attribute set containing only an italic attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.JUSTIFY
An unmodifiable attribute set containing only a justify attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.LEFT
An unmodifiable attribute set containing only a left attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.LINETHROUGH
An unmodifiable attribute set containing only a linethrough attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.MONOSPACED
An unmodifiable attribute set containing only a monospaced attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.OVERLINE
An unmodifiable attribute set containing only an overline attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.RIGHT
An unmodifiable attribute set containing only a right attribute. |
static SinkEventAttributes |
SinkEventAttributeSet.UNDERLINE
An unmodifiable attribute set containing only an underline attribute. |
Methods in org.apache.maven.doxia.sink with parameters of type SinkEventAttributes | |
---|---|
void |
XhtmlBaseSink.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor.
The ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
Supported attributes are the |
void |
SinkAdapter.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor. |
void |
RandomAccessSink.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor. |
void |
Sink.anchor(String name,
SinkEventAttributes attributes)
Starts an element which defines an anchor. |
void |
SinkAdapter.author(SinkEventAttributes attributes)
Starts an author element. |
void |
RandomAccessSink.author(SinkEventAttributes attributes)
Starts an author element. |
void |
Sink.author(SinkEventAttributes attributes)
Starts an author element. |
void |
SinkAdapter.body(SinkEventAttributes attributes)
Starts the body of a document. |
void |
RandomAccessSink.body(SinkEventAttributes attributes)
Starts the body of a document. |
void |
Sink.body(SinkEventAttributes attributes)
Starts the body of a document. |
void |
SinkAdapter.date(SinkEventAttributes attributes)
Starts the date element. |
void |
RandomAccessSink.date(SinkEventAttributes attributes)
Starts the date element. |
void |
Sink.date(SinkEventAttributes attributes)
Starts the date element. |
void |
XhtmlBaseSink.definedTerm(SinkEventAttributes attributes)
Starts a definition term element within a definition list.
Supported attributes are the |
void |
SinkAdapter.definedTerm(SinkEventAttributes attributes)
Starts a definition term element within a definition list. |
void |
RandomAccessSink.definedTerm(SinkEventAttributes attributes)
Starts a definition term element within a definition list. |
void |
Sink.definedTerm(SinkEventAttributes attributes)
Starts a definition term element within a definition list. |
void |
XhtmlBaseSink.definition(SinkEventAttributes attributes)
Starts a definition element within a definition list.
Supported attributes are the |
void |
SinkAdapter.definition(SinkEventAttributes attributes)
Starts a definition element within a definition list. |
void |
RandomAccessSink.definition(SinkEventAttributes attributes)
Starts a definition element within a definition list. |
void |
Sink.definition(SinkEventAttributes attributes)
Starts a definition element within a definition list. |
void |
XhtmlBaseSink.definitionList(SinkEventAttributes attributes)
Starts a definition list.
Supported attributes are the |
void |
SinkAdapter.definitionList(SinkEventAttributes attributes)
Starts a definition list. |
void |
RandomAccessSink.definitionList(SinkEventAttributes attributes)
Starts a definition list. |
void |
Sink.definitionList(SinkEventAttributes attributes)
Starts a definition list. |
void |
SinkAdapter.definitionListItem(SinkEventAttributes attributes)
Starts a list item element within a definition list. |
void |
RandomAccessSink.definitionListItem(SinkEventAttributes attributes)
Starts a list item element within a definition list. |
void |
Sink.definitionListItem(SinkEventAttributes attributes)
Starts a list item element within a definition list. |
void |
XhtmlBaseSink.figure(SinkEventAttributes attributes)
Starts a basic image embedding element. The canonical sequence of events for the figure element is: sink.figure(); sink.figureGraphics( "figure.png" ); sink.figureCaption(); sink.text( "Figure caption",); sink.figureCaption_(); sink.figure_(); where the figureCaption element is optional. However, NOTE that the order of figureCaption and figureGraphics events is arbitrary, ie a parser may emit the figureCaption before or after the figureGraphics. Implementing sinks should be prepared to handle both possibilities.
NOTE also that the figureGraphics() event does not have to be embedded
inside figure(), in particular for in-line images the figureGraphics() should be used
stand-alone (in HTML language, figureGraphics() produces a
Supported attributes are the |
void |
SinkAdapter.figure(SinkEventAttributes attributes)
Starts a basic image embedding element. |
void |
RandomAccessSink.figure(SinkEventAttributes attributes)
Starts a basic image embedding element. |
void |
Sink.figure(SinkEventAttributes attributes)
Starts a basic image embedding element. |
void |
XhtmlBaseSink.figureCaption(SinkEventAttributes attributes)
Starts a figure caption.
Supported attributes are the |
void |
SinkAdapter.figureCaption(SinkEventAttributes attributes)
Starts a figure caption. |
void |
RandomAccessSink.figureCaption(SinkEventAttributes attributes)
Starts a figure caption. |
void |
Sink.figureCaption(SinkEventAttributes attributes)
Starts a figure caption. |
void |
XhtmlBaseSink.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element.
The
Supported attributes are the
If the |
void |
SinkAdapter.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element. |
void |
RandomAccessSink.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element. |
void |
Sink.figureGraphics(String src,
SinkEventAttributes attributes)
Adds a graphic element. |
void |
SinkAdapter.head(SinkEventAttributes attributes)
Starts the head element. |
void |
RandomAccessSink.head(SinkEventAttributes attributes)
Starts the head element. |
void |
Sink.head(SinkEventAttributes attributes)
Starts the head element. |
void |
XhtmlBaseSink.horizontalRule(SinkEventAttributes attributes)
Adds a horizontal separator rule.
Supported attributes are the
|
void |
SinkAdapter.horizontalRule(SinkEventAttributes attributes)
Adds a horizontal separator rule. |
void |
RandomAccessSink.horizontalRule(SinkEventAttributes attributes)
Adds a horizontal separator rule. |
void |
Sink.horizontalRule(SinkEventAttributes attributes)
Adds a horizontal separator rule. |
void |
XhtmlBaseSink.lineBreak(SinkEventAttributes attributes)
Adds a line break. Supported attributes are:
|
void |
SinkAdapter.lineBreak(SinkEventAttributes attributes)
Adds a line break. |
void |
RandomAccessSink.lineBreak(SinkEventAttributes attributes)
Adds a line break. |
void |
Sink.lineBreak(SinkEventAttributes attributes)
Adds a line break. |
void |
XhtmlBaseSink.link(String name,
SinkEventAttributes attributes)
Starts a link.
The
Supported attributes are the
If |
void |
SinkAdapter.link(String name,
SinkEventAttributes attributes)
Starts a link. |
void |
RandomAccessSink.link(String name,
SinkEventAttributes attributes)
Starts a link. |
void |
Sink.link(String name,
SinkEventAttributes attributes)
Starts a link. |
void |
XhtmlBaseSink.list(SinkEventAttributes attributes)
Starts an unordered list.
Supported attributes are the |
void |
SinkAdapter.list(SinkEventAttributes attributes)
Starts an unordered list. |
void |
RandomAccessSink.list(SinkEventAttributes attributes)
Starts an unordered list. |
void |
Sink.list(SinkEventAttributes attributes)
Starts an unordered list. |
void |
XhtmlBaseSink.listItem(SinkEventAttributes attributes)
Starts a list item element within an unordered list.
Supported attributes are the |
void |
SinkAdapter.listItem(SinkEventAttributes attributes)
Starts a list item element within an unordered list. |
void |
RandomAccessSink.listItem(SinkEventAttributes attributes)
Starts a list item element within an unordered list. |
void |
Sink.listItem(SinkEventAttributes attributes)
Starts a list item element within an unordered list. |
void |
XhtmlBaseSink.numberedList(int numbering,
SinkEventAttributes attributes)
The default list style depends on the numbering. |
void |
SinkAdapter.numberedList(int numbering,
SinkEventAttributes attributes)
Starts an ordered list element. |
void |
RandomAccessSink.numberedList(int numbering,
SinkEventAttributes attributes)
Starts an ordered list element. |
void |
Sink.numberedList(int numbering,
SinkEventAttributes attributes)
Starts an ordered list element. |
void |
XhtmlBaseSink.numberedListItem(SinkEventAttributes attributes)
Starts a list item element within an ordered list.
Supported attributes are the |
void |
SinkAdapter.numberedListItem(SinkEventAttributes attributes)
Starts a list item element within an ordered list. |
void |
RandomAccessSink.numberedListItem(SinkEventAttributes attributes)
Starts a list item element within an ordered list. |
void |
Sink.numberedListItem(SinkEventAttributes attributes)
Starts a list item element within an ordered list. |
protected void |
XhtmlBaseSink.onSection(int depth,
SinkEventAttributes attributes)
Starts a section. |
protected void |
XhtmlBaseSink.onSectionTitle(int depth,
SinkEventAttributes attributes)
Starts a section title. |
void |
XhtmlBaseSink.paragraph(SinkEventAttributes attributes)
Starts a paragraph.
Supported attributes are the |
void |
SinkAdapter.paragraph(SinkEventAttributes attributes)
Starts a paragraph. |
void |
RandomAccessSink.paragraph(SinkEventAttributes attributes)
Starts a paragraph. |
void |
Sink.paragraph(SinkEventAttributes attributes)
Starts a paragraph. |
void |
XhtmlBaseSink.section(int level,
SinkEventAttributes attributes)
Start a new section at the given level. Sections with higher level have to be entirely contained within sections of lower level.
Supported attributes are the |
void |
SinkAdapter.section(int level,
SinkEventAttributes attributes)
Start a new section at the given level. |
void |
RandomAccessSink.section(int level,
SinkEventAttributes attributes)
Start a new section at the given level. |
void |
Sink.section(int level,
SinkEventAttributes attributes)
Start a new section at the given level. |
void |
XhtmlBaseSink.sectionTitle(int level,
SinkEventAttributes attributes)
Start a new section title at the given level.
This element is optional, but if it exists, it has to be contained, and be the first
element, within a corresponding NOTE: It is strongly recommended not to make section titles implicit anchors. Neither Parsers nor Sinks should insert any content that is not explicitly present in the original source document, as this would lead to undefined behaviour for multi-format processing chains. However, while Parsers must never emit anchors for section titles, some specialized Sinks may implement such a feature if the resulting output documents are not going to be further processed (and this is properly documented).
Supported attributes are the |
void |
SinkAdapter.sectionTitle(int level,
SinkEventAttributes attributes)
Start a new section title at the given level. |
void |
RandomAccessSink.sectionTitle(int level,
SinkEventAttributes attributes)
Start a new section title at the given level. |
void |
Sink.sectionTitle(int level,
SinkEventAttributes attributes)
Start a new section title at the given level. |
void |
XhtmlBaseSink.table(SinkEventAttributes attributes)
Starts a table. The canonical sequence of events for the table element is: sink.table(); sink.tableRows( justify, true ); sink.tableRow(); sink.tableCell(); sink.text( "cell 1,1" ); sink.tableCell_(); sink.tableCell(); sink.text( "cell 1,2" ); sink.tableCell_(); sink.tableRow_(); sink.tableRows_(); sink.tableCaption(); sink.text( "Table caption" ); sink.tableCaption_(); sink.table_(); where the tableCaption element is optional.
However, NOTE that the order of tableCaption and
Supported attributes are the
|
void |
SinkAdapter.table(SinkEventAttributes attributes)
Starts a table. |
void |
RandomAccessSink.table(SinkEventAttributes attributes)
Starts a table. |
void |
Sink.table(SinkEventAttributes attributes)
Starts a table. |
void |
XhtmlBaseSink.tableCaption(SinkEventAttributes attributes)
Starts a table caption.
Note that the order of tableCaption and
Supported attributes are the |
void |
SinkAdapter.tableCaption(SinkEventAttributes attributes)
Starts a table caption. |
void |
RandomAccessSink.tableCaption(SinkEventAttributes attributes)
Starts a table caption. |
void |
Sink.tableCaption(SinkEventAttributes attributes)
Starts a table caption. |
void |
XhtmlBaseSink.tableCell(SinkEventAttributes attributes)
Starts a table cell.
Supported attributes are the
|
void |
SinkAdapter.tableCell(SinkEventAttributes attributes)
Starts a table cell. |
void |
RandomAccessSink.tableCell(SinkEventAttributes attributes)
Starts a table cell. |
void |
Sink.tableCell(SinkEventAttributes attributes)
Starts a table cell. |
void |
XhtmlBaseSink.tableHeaderCell(SinkEventAttributes attributes)
Starts a table header cell.
Supported attributes are the same as for |
void |
SinkAdapter.tableHeaderCell(SinkEventAttributes attributes)
Starts a table header cell. |
void |
RandomAccessSink.tableHeaderCell(SinkEventAttributes attributes)
Starts a table header cell. |
void |
Sink.tableHeaderCell(SinkEventAttributes attributes)
Starts a table header cell. |
void |
XhtmlBaseSink.tableRow(SinkEventAttributes attributes)
The default class style is a or b depending the row id. |
void |
SinkAdapter.tableRow(SinkEventAttributes attributes)
Starts a table row. |
void |
RandomAccessSink.tableRow(SinkEventAttributes attributes)
Starts a table row. |
void |
Sink.tableRow(SinkEventAttributes attributes)
Starts a table row. |
void |
XhtmlBaseSink.text(String text,
SinkEventAttributes attributes)
Adds a text.
The
If
Supported attributes are the
|
void |
SinkAdapter.text(String text,
SinkEventAttributes attributes)
Adds a text. |
void |
RandomAccessSink.text(String text,
SinkEventAttributes attributes)
Adds a text. |
void |
Sink.text(String text,
SinkEventAttributes attributes)
Adds a text. |
void |
SinkAdapter.title(SinkEventAttributes attributes)
Starts the title element. |
void |
RandomAccessSink.title(SinkEventAttributes attributes)
Starts the title element. |
void |
Sink.title(SinkEventAttributes attributes)
Starts the title element. |
void |
XhtmlBaseSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. |
void |
SinkAdapter.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. |
void |
RandomAccessSink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. |
void |
Sink.unknown(String name,
Object[] requiredParams,
SinkEventAttributes attributes)
Add an unknown event. |
void |
XhtmlBaseSink.verbatim(SinkEventAttributes attributes)
The default class style for boxed is source . |
void |
SinkAdapter.verbatim(SinkEventAttributes attributes)
Starts a verbatim block, ie a block where whitespace has semantic relevance. |
void |
RandomAccessSink.verbatim(SinkEventAttributes attributes)
Starts a verbatim block, ie a block where whitespace has semantic relevance. |
void |
Sink.verbatim(SinkEventAttributes attributes)
Starts a verbatim block, ie a block where whitespace has semantic relevance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |