@Override public void endElement(String name) throws IOException { elementsOfCurrentCommandComponent--; if (elementsOfCurrentCommandComponent <= 0) { currentCommandComponent = null; elementsOfCurrentCommandComponent = 0; } super.endElement(name); }
@Override public void endElement(String name) throws IOException { if ("input".equalsIgnoreCase(name)) { // no-op Becuase the button needs to be a button element and endElement must be called in encodeEnd. } else { super.endElement(name); } }
@Override public void endElement(String name) throws IOException { super.endElement(name); if ((writingIdElement) && idElement.equals(name)) { writingIdElement = false; } }
@Override public void endElement(String name) throws IOException { // Prevent the JSF runtime from closing the </span> tag since the // OutputToolTipRenderer.encodeMarkupEnd(FacesContext, UIComponent) method will write a closing </div> tag. if (!"span".equals(name)) { super.endElement(name); } }
@Override public void endElement(String name) throws IOException { if ("a".equals(name)) { anchorCount--; } super.endElement(name); }
@Override public void endElement(String name) throws IOException { if ("span".equals(name)) { name = "pre"; } super.endElement(name); }
@Override public void endElement(String name) throws IOException { if ("input".equals(name)) { writingInput = false; } else if ("label".equals(name)) { super.endElement(name); writingLabel = false; } else { super.endElement(name); } }
@Override public void endElement(String name) throws IOException { if ("table".equals(name)) { super.endElement("div"); } else if ("tbody".equals(name) || "td".equals(name) || "thead".equals(name) || "tr".equals(name)) { // no-op } else { super.endElement(name); } }
@Override public void endElement(String name) throws IOException { if (isForRenderedComponent()) { super.endElement(name); } }
@Override public void endElement(String name) throws IOException { if ("input".equals(name)) { if (!wroteId) { super.writeAttribute("id", id, "id"); } } super.endElement(name); }
@Override public void endElement(String name) throws IOException { if (isForRenderedComponent()) { super.endElement(name); } }
@Override public void endElement(String name) throws IOException { write("});"); super.endElement(name); }
@Override public void endElement(String name) throws IOException { if ("input".equalsIgnoreCase(name)) { inputElement = false; } if ("label".equalsIgnoreCase(name)) { labelElement = false; super.writeAttribute("title", title, "title"); super.writeAttribute(Styleable.STYLE, "display:none;", null); super.endElement("input"); } }
super.endElement("input"); inputMovedInsideLabel = true;
super.endElement("span");
@Override public void endElement(String name) throws IOException { if (bufferedScript.isBuffering() && "script".equals(name)) { // If the script is an external resource, then write it to the response. if (bufferedScript.isResource()) { bufferedScript.write(wrappedResponseWriter); } // Otherwise ensure that the script is written before the closing <body> tag. else { String scriptSource = bufferedScript.toString(); facesRequestContext.addScript(scriptSource); } bufferedScript.clear(); } else { if ("body".equals(name)) { List<Script> scripts = facesRequestContext.getScripts(); if (!scripts.isEmpty()) { ExternalContext externalContext = facesContext.getExternalContext(); ScriptsEncoder scriptsEncoder = ScriptsEncoderFactory.getScriptsEncoderInstance(externalContext); facesContext.setResponseWriter(wrappedResponseWriter); scriptsEncoder.encodeBodyScripts(facesContext, scripts); facesContext.setResponseWriter(this); } } super.endElement(name); } }
@Override public void endElement(String name) throws IOException { if (!idAttributeWritten) { String resourceId = ResourceUtil.getResourceId(resourceLibrary, resourceName); if (resourceId != null) { writeAttribute("id", resourceId, null); } } if (!dataSennaTrackAttributeWritten && (dataSennaTrack != null)) { writeAttribute(dataSennaTrack.getName(), dataSennaTrack.getValue(), null); } super.endElement(name); }