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 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
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
htmlClass
protected java.lang.String htmlClass
id
protected java.lang.String id
style
protected java.lang.String style
title
protected java.lang.String title
DefaultStandardTag
public DefaultStandardTag()
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.