com.atlassian.confluence.content.render.xhtml
Class ImageAttributeParser

java.lang.Object
  extended by 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
protected  DefaultEmbeddedImage embeddedImage
           
 
Constructor Summary
ImageAttributeParser(DefaultEmbeddedImage embededImage)
           
 
Method Summary
 DefaultEmbeddedImage getEmbededImage()
           
protected abstract  QName getQName(String nameSpace, String prefix, String localName)
           
 void readImageAttributes(StartElement imageElement)
           
 void readImageAttributes(String namespace, String prefix, StartElement imageElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

getQName

protected abstract QName getQName(String nameSpace,
                                  String prefix,
                                  String localName)


Copyright © 2003-2012 Atlassian. All Rights Reserved.