Package org.thymeleaf.dom

Examples of org.thymeleaf.dom.CDATASection


            super.endCDATA();

            this.cdataMode = false;
            if(this.cdataBufferLen > 0) {
                final Node cdata =
                        new CDATASection(new String(this.cdataBuffer, 0, this.cdataBufferLen), null, null, true);
                if (this.elementStack.isEmpty()) {
                    this.rootNodes.add(cdata);
                } else {
                    final NestableNode parent = this.elementStack.peek();
                    parent.addChild(cdata);
View Full Code Here


    }

   
   
    public static CDATASection translateCDATASection(final org.w3c.dom.CDATASection domNode, final NestableNode parentNode, final String documentName) {
        final CDATASection cdata =
                new CDATASection(TemplatePreprocessingReader.removeEntitySubstitutions(domNode.getData()), documentName, null, true);
        cdata.setParent(parentNode);
        return cdata;
    }
View Full Code Here

TOP

Related Classes of org.thymeleaf.dom.CDATASection

Copyright © 2018 www.massapicom. 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.