org.apache.empire.struts2.html
Class HtmlWriter.HtmlTag

java.lang.Object
  extended by org.apache.empire.struts2.html.HtmlWriter.HtmlTag
Enclosing class:
HtmlWriter

public static class HtmlWriter.HtmlTag
extends Object


Constructor Summary
protected HtmlWriter.HtmlTag(HtmlWriter writer, String name, boolean hasBody)
           
 
Method Summary
 void addAttribute(String attrib)
           
 void addAttribute(String attrib, boolean present)
           
 void addAttribute(String attrib, Object value)
           
 void addAttribute(String attrib, Object value, boolean escapeHtml)
           
 void addAttributeNoCheck(String attrib, Object value, boolean escapeHtml)
           
 void addAttributes(String attributes)
           
 void beginBody()
           
 void beginBody(boolean newLine)
           
 void beginBody(String body)
           
 void beginBody(String body, boolean newLine)
           
 void endTag()
           
 void endTag(boolean newLine)
           
 void endTag(String body)
           
 void endTag(String body, boolean newLine)
           
 boolean isValid()
           
protected  void startTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlWriter.HtmlTag

protected HtmlWriter.HtmlTag(HtmlWriter writer,
                             String name,
                             boolean hasBody)
Method Detail

startTag

protected void startTag()

isValid

public boolean isValid()

addAttributes

public void addAttributes(String attributes)

addAttributeNoCheck

public void addAttributeNoCheck(String attrib,
                                Object value,
                                boolean escapeHtml)

addAttribute

public void addAttribute(String attrib,
                         Object value,
                         boolean escapeHtml)

addAttribute

public void addAttribute(String attrib,
                         Object value)

addAttribute

public void addAttribute(String attrib)

addAttribute

public void addAttribute(String attrib,
                         boolean present)

beginBody

public void beginBody(String body,
                      boolean newLine)

beginBody

public void beginBody(String body)

beginBody

public void beginBody(boolean newLine)

beginBody

public void beginBody()

endTag

public void endTag(String body,
                   boolean newLine)

endTag

public void endTag(String body)

endTag

public void endTag(boolean newLine)

endTag

public void endTag()


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.