com.atlassian.confluence.content.render.xhtml.model
Class DefaultStandardTag

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.model.DefaultStandardTag
All Implemented Interfaces:
StandardTag
Direct Known Subclasses:
DefaultEmbeddedImage

public class DefaultStandardTag
extends Object
implements StandardTag

A default implementation of the standard tag which also provides the methods to set attribute values.


Field Summary
protected  String htmlClass
           
protected  String id
           
protected  String style
           
protected  String title
           
 
Constructor Summary
DefaultStandardTag()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHtmlClass()
           
 String getId()
           
 String getStyle()
           
 String getTitle()
           
 int hashCode()
           
 void setHtmlClass(String htmlClass)
           
 void setId(String id)
           
 void setStyle(String style)
           
 void setTitle(String title)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

htmlClass

protected String htmlClass

id

protected String id

style

protected String style

title

protected String title
Constructor Detail

DefaultStandardTag

public DefaultStandardTag()
Method Detail

getHtmlClass

public String getHtmlClass()
Specified by:
getHtmlClass in interface StandardTag
Returns:
the value of the class attribute for the tag or null if there is no class specified.

getId

public String getId()
Specified by:
getId in interface StandardTag
Returns:
the id for the tag. It may be null.

getStyle

public String getStyle()
Specified by:
getStyle in interface StandardTag
Returns:
the value of the style attribute. It may be null.

getTitle

public String getTitle()
Specified by:
getTitle in interface StandardTag
Returns:
the title for the tag. It may be null.

setHtmlClass

public void setHtmlClass(String htmlClass)

setId

public void setId(String id)

setStyle

public void setStyle(String style)

setTitle

public void setTitle(String title)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.