Class ImageAttributeParser
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.ImageAttributeParser
-
- Direct Known Subclasses:
EditorImageAttributeParser
,StorageImageAttributeParser
public abstract class ImageAttributeParser extends Object
A class encapsulating the commonality in parsing the attributes on an img or ac:image tag.
-
-
Field Summary
Fields Modifier and Type Field Description protected DefaultEmbeddedImage
embeddedImage
-
Constructor Summary
Constructors Constructor Description ImageAttributeParser(DefaultEmbeddedImage embededImage)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DefaultEmbeddedImage
getEmbededImage()
protected abstract QName
getQName(String nameSpace, String prefix, String localName)
void
readImageAttributes(String namespace, String prefix, StartElement imageElement)
void
readImageAttributes(StartElement imageElement)
-
-
-
Field Detail
-
embeddedImage
protected DefaultEmbeddedImage embeddedImage
-
-
Constructor Detail
-
ImageAttributeParser
public ImageAttributeParser(DefaultEmbeddedImage embededImage)
-
-
Method Detail
-
readImageAttributes
public void readImageAttributes(StartElement imageElement)
-
readImageAttributes
public void readImageAttributes(String namespace, String prefix, StartElement imageElement)
-
getEmbededImage
public DefaultEmbeddedImage getEmbededImage()
-
-