public final class DefaultCommonLinkAttributesWriter extends Object implements CommonLinkAttributesWriter
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
static String |
NEW_TAB_CLASS |
static String |
OPEN_IN_NEW_WINDOW_DARK_FEATURE |
static String |
SCREEN_READER_NEW_WINDOW_TAG_I18N_KEY |
Modifier and Type | Method and Description |
---|---|
void |
writeCommonAttributes(Link link,
XMLStreamWriter writer,
ConversionContext conversionContext)
Writes attributes common to any link
|
public static final org.slf4j.Logger log
public static final String SCREEN_READER_NEW_WINDOW_TAG_I18N_KEY
public static final String OPEN_IN_NEW_WINDOW_DARK_FEATURE
public static final String NEW_TAB_CLASS
public void writeCommonAttributes(Link link, XMLStreamWriter writer, ConversionContext conversionContext) throws XMLStreamException
CommonLinkAttributesWriter
writeCommonAttributes
in interface CommonLinkAttributesWriter
link
- Link object to write the attributes forwriter
- The XmlStreamWriter to write the attributes toconversionContext
- Conversion Context rendering forXMLStreamException
- if it encounters an error writing any of the attributes to the streamCopyright © 2003–2017 Atlassian. All rights reserved.