Examples of endTag()


Examples of org.apache.empire.struts2.html.HtmlWriter.HtmlTag.endTag()

        // Event Attributes
        input.addAttribute("onclick",   ci.getOnclick());
        input.addAttribute("onchange",  ci.getOnchange());
        input.addAttribute("onfocus",   ci.getOnfocus());
        input.addAttribute("onblur",    ci.getOnblur());
        input.endTag();
    }
   
}
View Full Code Here

Examples of org.apache.empire.struts2.html.HtmlWriter.HtmlTag.endTag()

            div.addAttribute("id",    ci.getId());
            div.addAttribute("class", ci.getCssClass());
            div.addAttribute("style", ci.getCssStyle());
            div.beginBody();
            internalRenderText(writer, vi);
            div.endTag();
        }
        else
        {
            internalRenderText(writer, vi);
        }
View Full Code Here

Examples of org.apache.empire.struts2.html.HtmlWriter.HtmlTag.endTag()

            String msg = provider.getLocalizedErrorMessage(lastActionError);
            renderError(w, actionErrClass, msg);
        }

        // done
        list.endTag();
    }

    private void renderError(HtmlWriter w, String cssClassName, String msg)
    {
        HtmlTagDictionary dic = HtmlTagDictionary.getInstance();
View Full Code Here

Examples of org.apache.empire.struts2.html.HtmlWriter.HtmlTag.endTag()

        if (wrapTag!=null && wrapTag.length()>0)
        {   tag.beginBody();
            // Item wrapper tag
            HtmlTag wrap = w.startTag(wrapTag);
            wrap.addAttribute("class", cssClassName);
            wrap.endTag(msg);
        }
        else
        {   // No additional error wrapper tag
            tag.addAttribute("class", cssClassName);
            tag.beginBody(msg);
View Full Code Here

Examples of org.apache.empire.struts2.html.HtmlWriter.HtmlTag.endTag()

            div.addAttribute("id",    ci.getId());
            div.addAttribute("class", ci.getCssClass());
            div.addAttribute("style", style);
            div.beginBody();
            internalRenderText(writer, vi);
            div.endTag();
        }
        else
        {
            super.internalRenderText(writer, vi);
        }
View Full Code Here

Examples of org.encog.parse.tags.write.WriteXML.endTag()

      xml.beginTag("VARIABLE");
      xml.addProperty("NAME", event.getLabel());
      for (BayesianChoice str : event.getChoices()) {
        xml.addProperty("OUTCOME", str.getLabel());
      }
      xml.endTag();
    }

    // write relations
    for (BayesianEvent event : network.getEvents()) {
      xml.beginTag("DEFINITION");
View Full Code Here

Examples of org.jibx.extras.JDOMWriter.endTag()

        jdomWriter.closeEmptyTag();
       
        assertEquals("myns1", jdomWriter.getNamespacePrefix(2));
        assertEquals("myns2", jdomWriter.getNamespacePrefix(3));
       
        jdomWriter.endTag(0, "element1");
       
        assertNull("unexpected prefix defined", jdomWriter.getNamespacePrefix(2));
        assertNull("unexpected prefix defined", jdomWriter.getNamespacePrefix(3));
    }
   
View Full Code Here

Examples of org.jibx.runtime.IXMLWriter.endTag()

               
                // marshal object representation (may include attributes) into element
                IMarshaller mrsh = ctx.getMarshaller(marshallerIndex,
                    bindingFactory.getMappedClasses()[marshallerIndex]);
                mrsh.marshal(dataObject, ctx);
                wrtr.endTag(0, name);
               
            } catch (IOException e) {
                throw new JiBXException("Error marshalling XML representation", e);
            }
        }
View Full Code Here

Examples of org.jibx.runtime.impl.MarshallingContext.endTag()

                            ctx.content(value.toString());
                            break;
                    }
                   
                    // finish with close tag for entry element
                    ctx.endTag(m_index, ENTRY_ELEMENT_NAME);
                }
            }
           
            // finish with end tag for container element
            ctx.endTag(m_index, m_name);
View Full Code Here

Examples of org.jibx.runtime.impl.MarshallingContext.endTag()

                    ctx.endTag(m_index, ENTRY_ELEMENT_NAME);
                }
            }
           
            // finish with end tag for container element
            ctx.endTag(m_index, m_name);
            xwrite.popExtensionNamespaces();
        }
    }

    /* (non-Javadoc)
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.