Class SaxTemplateParser
-
- org.apache.tapestry5.internal.services.SaxTemplateParser
-
public class SaxTemplateParser extends
SAX-based template parser logic, taking aResource
to a Tapestry template file and returning aComponentTemplate
. 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 asXMLTokenStream
.- Since:
- 5.2.0
-
-
Field Summary
Fields Modifier and Type Field Description static
XML_NAMESPACE_URI
-
Constructor Summary
Constructors Constructor Description SaxTemplateParser(Resource resource, <,> publicIdToURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentTemplate
parse(boolean compressWhitespace)
-
-
-
Field Detail
-
XML_NAMESPACE_URI
public static final XML_NAMESPACE_URI
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SaxTemplateParser
public SaxTemplateParser(Resource resource, <,> publicIdToURL)
-
-
Method Detail
-
parse
public ComponentTemplate parse(boolean compressWhitespace)
-
-