|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.lxtreme.ols.util.export.AttributeImpl
public class AttributeImpl
Provides a default implementation of ExportUtils.HtmlExporter.Attribute
.
Constructor Summary | |
---|---|
AttributeImpl(String aName)
Creates a new AttributeImpl instance. |
|
AttributeImpl(String aName,
String aValue)
Creates a new AttributeImpl instance. |
Method Summary | |
---|---|
ExportUtils.HtmlExporter.Attribute |
clone()
Creates a deep copy of this attribute. |
boolean |
equals(Object aObject)
|
String |
getName()
Returns the name of this attribute. |
String |
getValue()
Returns the value of this attribute. |
int |
hashCode()
|
String |
toString()
|
String |
toString(ExportUtils.HtmlExporter.MacroResolver aResolver)
Returns the string representation of this HTML-attribute. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeImpl(String aName)
AttributeImpl
instance.
aName
- the name of this attribute, which will also be its value, cannot
be null
.public AttributeImpl(String aName, String aValue)
AttributeImpl
instance.
aName
- the name of this attribute, cannot be null
;aValue
- the value of this attribute, cannot be null
.Method Detail |
---|
public ExportUtils.HtmlExporter.Attribute clone()
clone
in interface ExportUtils.HtmlExporter.Attribute
clone
in class Object
Object.clone()
public boolean equals(Object aObject)
equals
in class Object
Object.equals(java.lang.Object)
public String getName()
getName
in interface ExportUtils.HtmlExporter.Attribute
null
.public String getValue()
getValue
in interface ExportUtils.HtmlExporter.Attribute
null
.public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public String toString(ExportUtils.HtmlExporter.MacroResolver aResolver)
ExportUtils.HtmlExporter.Attribute
toString
in interface ExportUtils.HtmlExporter.Attribute
aResolver
- the macro resolver to use for any found macros.
null
.ExportUtils.HtmlExporter.Attribute.toString(nl.lxtreme.ols.util.ExportUtils.HtmlExporter.MacroResolver)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |