com.atlassian.confluence.content.render.xhtml.editor.embed
Class EditorImageAttributeParser

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.ImageAttributeParser
      extended by 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
EditorImageAttributeParser(DefaultEmbeddedImage embededImage)
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class ImageAttributeParser
Parameters:
imageElement -

getQName

protected QName getQName(String nameSpace,
                         String prefix,
                         String localName)
Specified by:
getQName in class ImageAttributeParser


Copyright © 2003-2012 Atlassian. All Rights Reserved.