Class EditorImageAttributeParser
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.ImageAttributeParser
-
- com.atlassian.confluence.content.render.xhtml.editor.embed.EditorImageAttributeParser
-
public class EditorImageAttributeParser extends ImageAttributeParser
Helper class to read the attributes of an img or ac:image tag into the supplied DefaultEmbeddedImage object.
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.content.render.xhtml.ImageAttributeParser
embeddedImage
-
-
Constructor Summary
Constructors Constructor Description EditorImageAttributeParser(DefaultEmbeddedImage embededImage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected QName
getQName(String nameSpace, String prefix, String localName)
void
readImageAttributes(StartElement imageElement)
Adds additional handling of the class attribute for editor formatted images-
Methods inherited from class com.atlassian.confluence.content.render.xhtml.ImageAttributeParser
getEmbededImage, readImageAttributes
-
-
-
-
Constructor Detail
-
EditorImageAttributeParser
public EditorImageAttributeParser(DefaultEmbeddedImage embededImage)
-
-
Method Detail
-
readImageAttributes
public void readImageAttributes(StartElement imageElement)
Adds additional handling of the class attribute for editor formatted images- Overrides:
readImageAttributes
in classImageAttributeParser
- Parameters:
imageElement
-
-
-