|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ExportUtils.HtmlExporter.Element
Denotes a HTML element.
Method Summary | |
---|---|
ExportUtils.HtmlExporter.Element |
addAttribute(String aName,
String aValue)
Adds an attribute to this element. |
ExportUtils.HtmlExporter.Element |
addChild(ExportUtils.HtmlExporter.Element aChild)
Adds a new child element to this element. |
ExportUtils.HtmlExporter.Element |
addChild(String aName)
Adds a new child element to this element. |
ExportUtils.HtmlExporter.Element |
addContent(String... aValues)
Adds text content to this element. |
ExportUtils.HtmlExporter.Element |
clone()
Creates a deep copy of this element. |
Collection<ExportUtils.HtmlExporter.Attribute> |
getAttributes()
Returns the attributes of this element. |
ExportUtils.HtmlExporter.Element |
getChildByName(String aName)
Returns the first child with the given name. |
Collection<ExportUtils.HtmlExporter.Element> |
getChildren()
Returns the child-elements of this element. |
String |
getName()
Returns the name of this element. |
String |
toString(ExportUtils.HtmlExporter.MacroResolver aResolver)
Returns the string representation of this HTML-element. |
Method Detail |
---|
ExportUtils.HtmlExporter.Element addAttribute(String aName, String aValue)
aName
- the name of the attribute to add;aValue
- the value of the attribute to add.
ExportUtils.HtmlExporter.Element addChild(ExportUtils.HtmlExporter.Element aChild)
aChild
- the child element to add, cannot be null
.
ExportUtils.HtmlExporter.Element addChild(String aName)
aName
- the name of the child element to add, cannot be
null
.
ExportUtils.HtmlExporter.Element addContent(String... aValues)
aValues
- the text-values to add, cannot be null
.
ExportUtils.HtmlExporter.Element clone()
Object.clone()
Collection<ExportUtils.HtmlExporter.Attribute> getAttributes()
null
.ExportUtils.HtmlExporter.Element getChildByName(String aName)
aName
- the name of the child to get, cannot be null
.
null
if no
such child was found.Collection<ExportUtils.HtmlExporter.Element> getChildren()
null
.String getName()
null
.String toString(ExportUtils.HtmlExporter.MacroResolver aResolver)
aResolver
- the macro resolver to use for any found macros.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |