/** * Write the element end to the supplied {@link Writer}. * * @param element The element. * @param writer The Writer. * @throws IOException Exception writing. */ public void writeEndElement(SAXElement element, Writer writer) throws IOException { SAXElementWriterUtil.writeEndElement(element, writer); }
/** * Write the element end to the supplied {@link Writer}. * * @param element The element. * @param writer The Writer. * @throws IOException Exception writing. */ public void writeEndElement(SAXElement element, Writer writer) throws IOException { SAXElementWriterUtil.writeEndElement(element, writer); }
/** * Write the element end to the supplied {@link Writer}. * * @param element The element. * @param writer The Writer. * @throws IOException Exception writing. */ public void writeEndElement(SAXElement element, Writer writer) throws IOException { SAXElementWriterUtil.writeEndElement(element, writer); }
/** * Write the element end to the supplied {@link Writer}. * * @param element The element. * @param writer The Writer. * @throws IOException Exception writing. */ public void writeEndElement(SAXElement element, Writer writer) throws IOException { SAXElementWriterUtil.writeEndElement(element, writer); }
public void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException { depth--; if(childContentOnly) { // Print child content only, so only print the empty element if the depth is greater // than 1... if(depth > 0) { SAXElementWriterUtil.writeEndElement(element, fragmentWriter); } } else { // Printing all of the elements, so just print the end of the element... SAXElementWriterUtil.writeEndElement(element, fragmentWriter); } }
public void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException { depth--; if(childContentOnly) { // Print child content only, so only print the empty element if the depth is greater // than 1... if(depth > 0) { SAXElementWriterUtil.writeEndElement(element, fragmentWriter); } } else { // Printing all of the elements, so just print the end of the element... SAXElementWriterUtil.writeEndElement(element, fragmentWriter); } }
/** * Write the element end to any {@link StreamResult} instance that may have been supplied to the * {@link Smooks#filterSource(javax.xml.transform.Source, javax.xml.transform.Result) Smooks.filterSource()} * method. * @param element The element. * @throws IOException Exception writing. */ public void writeEndElement(SAXElement element) throws IOException { SAXElementWriterUtil.writeEndElement(element, element.getWriter(owner)); }
/** * Write the element end to any {@link StreamResult} instance that may have been supplied to the * {@link Smooks#filterSource(javax.xml.transform.Source, javax.xml.transform.Result) Smooks.filterSource()} * method. * @param element The element. * @throws IOException Exception writing. */ public void writeEndElement(SAXElement element) throws IOException { SAXElementWriterUtil.writeEndElement(element, element.getWriter(owner)); }
/** * Write the element end to any {@link StreamResult} instance that may have been supplied to the * {@link Smooks#filterSource(javax.xml.transform.Source, javax.xml.transform.Result) Smooks.filterSource()} * method. * @param element The element. * @throws IOException Exception writing. */ public void writeEndElement(SAXElement element) throws IOException { SAXElementWriterUtil.writeEndElement(element, element.getWriter(owner)); }
public void writeEndElement(SAXElement element) throws IOException { SAXElementWriterUtil.writeEndElement(element, element.getWriter(owner)); }
protected void writeEnd(SAXElement element) throws IOException { if(!isStartWritten(element)) { // It's an empty element... SAXElementWriterUtil.writeEmptyElement(element, element.getWriter(writerOwner), rewriteEntities); } else { SAXElementWriterUtil.writeEndElement(element, element.getWriter(writerOwner)); } }
protected void writeEnd(SAXElement element) throws IOException { if(!isStartWritten(element)) { // It's an empty element... SAXElementWriterUtil.writeEmptyElement(element, element.getWriter(writerOwner), rewriteEntities); } else { SAXElementWriterUtil.writeEndElement(element, element.getWriter(writerOwner)); } }
protected void writeEnd(SAXElement element) throws IOException { if(!isStartWritten(element)) { // It's an empty element... SAXElementWriterUtil.writeEmptyElement(element, element.getWriter(writerOwner), rewriteEntities); } else { SAXElementWriterUtil.writeEndElement(element, element.getWriter(writerOwner)); } }
protected void writeEnd(SAXElement element) throws IOException { if(!isStartWritten(element)) { // It's an empty element... SAXElementWriterUtil.writeEmptyElement(element, element.getWriter(writerOwner), rewriteEntities); } else { SAXElementWriterUtil.writeEndElement(element, element.getWriter(writerOwner)); } }