|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.doxia.sink.SinkAdapter
org.apache.maven.doxia.sink.AbstractXmlSink
An abstract Sink for xml markup syntax.
| Field Summary |
| Fields inherited from interface org.apache.maven.doxia.markup.XmlMarkup |
BANG, CDATA |
| Fields inherited from interface org.apache.maven.doxia.markup.Markup |
EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SLASH, SPACE, STAR |
| Fields inherited from interface org.apache.maven.doxia.sink.Sink |
NUMBERING_DECIMAL, NUMBERING_LOWER_ALPHA, NUMBERING_LOWER_ROMAN, NUMBERING_UPPER_ALPHA, NUMBERING_UPPER_ROMAN, ROLE, SECTION_LEVEL_1, SECTION_LEVEL_2, SECTION_LEVEL_3, SECTION_LEVEL_4, SECTION_LEVEL_5 |
| Constructor Summary | |
AbstractXmlSink()
|
|
| Method Summary | |
protected abstract void |
write(String text)
TODO DOXIA-59 Need to uniform writing |
protected void |
writeEndTag(HTML.Tag t)
Ends a Tag. |
protected void |
writeSimpleTag(HTML.Tag t)
Starts a simple Tag. |
protected void |
writeSimpleTag(HTML.Tag t,
MutableAttributeSet att)
Starts a simple Tag with attributes. |
protected void |
writeStartTag(HTML.Tag t)
Starts a Tag. |
protected void |
writeStartTag(HTML.Tag t,
MutableAttributeSet att)
Starts a Tag with attributes. |
protected void |
writeStartTag(HTML.Tag t,
MutableAttributeSet att,
boolean isSimpleTag)
Starts a Tag with attributes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractXmlSink()
| Method Detail |
protected void writeStartTag(HTML.Tag t)
<tag>
t - a non null tagwriteStartTag(javax.swing.text.html.HTML.Tag, javax.swing.text.MutableAttributeSet)
protected void writeStartTag(HTML.Tag t,
MutableAttributeSet att)
<tag attName="attValue">
t - a non null tagatt - a set of attributeswriteStartTag(javax.swing.text.html.HTML.Tag, javax.swing.text.MutableAttributeSet, boolean)
protected void writeStartTag(HTML.Tag t,
MutableAttributeSet att,
boolean isSimpleTag)
<tag attName="attValue">
t - a non null tagatt - a set of attributesisSimpleTag - boolean to write as a simple tagprotected void writeEndTag(HTML.Tag t)
</tag>
t - a tagprotected void writeSimpleTag(HTML.Tag t)
<tag />
t - a non null tagwriteSimpleTag(javax.swing.text.html.HTML.Tag, javax.swing.text.MutableAttributeSet)
protected void writeSimpleTag(HTML.Tag t,
MutableAttributeSet att)
<tag attName="attValue" />
t - a non null tagatt - a set of attributeswriteStartTag(javax.swing.text.html.HTML.Tag, javax.swing.text.MutableAttributeSet, boolean)protected abstract void write(String text)
text - the given text to write
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||