org.opentox.toxotis.core.html.impl
Class HTMLTagImpl

java.lang.Object
  extended by org.opentox.toxotis.core.html.impl.HTMLExpandableComponentImpl
      extended by org.opentox.toxotis.core.html.impl.HTMLTagImpl
All Implemented Interfaces:
HTMLComponent, HTMLExpandableComponent, HTMLTag

public final class HTMLTagImpl
extends HTMLExpandableComponentImpl
implements HTMLTag

Author:
Pantelis Sopasakis, Charalampos Chomenides

Constructor Summary
HTMLTagImpl(String tag)
           
HTMLTagImpl(String tag, HTMLComponent content)
           
HTMLTagImpl(String tag, String content)
           
 
Method Summary
 HTMLTag addTagAttribute(String attribute, String value)
           
 String getTag()
           
 HTMLTag setContent(String content)
           
 HTMLTag setTag(String tag)
           
 String toString()
           
 
Methods inherited from class org.opentox.toxotis.core.html.impl.HTMLExpandableComponentImpl
addComponent, getComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opentox.toxotis.core.html.HTMLExpandableComponent
addComponent, getComponents
 

Constructor Detail

HTMLTagImpl

public HTMLTagImpl(String tag)

HTMLTagImpl

public HTMLTagImpl(String tag,
                   String content)

HTMLTagImpl

public HTMLTagImpl(String tag,
                   HTMLComponent content)
Method Detail

setTag

public HTMLTag setTag(String tag)
Specified by:
setTag in interface HTMLTag

getTag

public String getTag()
Specified by:
getTag in interface HTMLTag

addTagAttribute

public HTMLTag addTagAttribute(String attribute,
                               String value)
Specified by:
addTagAttribute in interface HTMLTag

setContent

public HTMLTag setContent(String content)
Specified by:
setContent in interface HTMLTag

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011-2012 OpenTox. All Rights Reserved.