org.xerial.wiki.html
Class HTMLElement

java.lang.Object
  extended by org.xerial.wiki.html.HTMLElement
Direct Known Subclasses:
Link

public class HTMLElement
extends Object


Constructor Summary
HTMLElement(String tagName)
           
HTMLElement(String tagName, HTMLAttribute attribute)
           
 
Method Summary
 void addAttribute(String attributeName, Object value)
           
 void addContent(Object content)
           
 void toHTML(StringBuilder out)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLElement

public HTMLElement(String tagName)

HTMLElement

public HTMLElement(String tagName,
                   HTMLAttribute attribute)
Method Detail

addAttribute

public void addAttribute(String attributeName,
                         Object value)

addContent

public void addContent(Object content)

toHTML

public void toHTML(StringBuilder out)

toString

public String toString()
Overrides:
toString in class Object


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.