Package org.apache.tapestry.dom

Examples of org.apache.tapestry.dom.MarkupModel


    public MarkupWriter newMarkupWriter(ContentType contentType)
    {
        boolean isHTML = contentType.getMimeType().equalsIgnoreCase("text/html");

        MarkupModel model = isHTML ? _htmlModel : _xmlModel;

        // The charset parameter sets the encoding attribute of the XML declaration, if
        // not null and if using the XML model.

        return new MarkupWriterImpl(model, contentType.getParameter("charset"));
View Full Code Here

TOP

Related Classes of org.apache.tapestry.dom.MarkupModel

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.