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 java.lang.Object
implements StandardTag

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


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

Field Detail

htmlClass

protected java.lang.String htmlClass

id

protected java.lang.String id

style

protected java.lang.String style

title

protected java.lang.String title
Constructor Detail

DefaultStandardTag

public DefaultStandardTag()
Method Detail

getHtmlClass

public java.lang.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 java.lang.String getId()
Specified by:
getId in interface StandardTag
Returns:
the id for the tag. It may be null.

getStyle

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

getTitle

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

setHtmlClass

public void setHtmlClass(java.lang.String htmlClass)

setId

public void setId(java.lang.String id)

setStyle

public void setStyle(java.lang.String style)

setTitle

public void setTitle(java.lang.String title)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.