com.atlassian.confluence.content.render.xhtml.model
Class DefaultStandardTag
java.lang.Object
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.
htmlClass
protected String htmlClass
id
protected String id
style
protected String style
title
protected String title
DefaultStandardTag
public DefaultStandardTag()
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-2012 Atlassian. All Rights Reserved.