public class SaxTemplateParser extends Object
Resource
to a Tapestry
template file and returning
a ComponentTemplate
.
Earlier versions of this code used the StAX (streaming XML parser), but that
was really, really bad for Google App Engine. This version uses SAX under the
covers, but kind of replicates the important bits of the StAX API as
XMLTokenStream
.Modifier and Type | Field and Description |
---|---|
static String |
XML_NAMESPACE_URI |
Constructor and Description |
---|
SaxTemplateParser(Resource resource,
Map<String,URL> publicIdToURL) |
public static final String XML_NAMESPACE_URI
public SaxTemplateParser(Resource resource, Map<String,URL> publicIdToURL)
public ComponentTemplate parse(boolean compressWhitespace)
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.