Class SaxTemplateParser


  • public class SaxTemplateParser
    extends java.lang.Object
    SAX-based template parser logic, taking a 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.
    Since:
    5.2.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String XML_NAMESPACE_URI  
    • Constructor Summary

      Constructors 
      Constructor Description
      SaxTemplateParser​(Resource resource, java.util.Map<java.lang.String,​java.net.URL> publicIdToURL)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ComponentTemplate parse​(boolean compressWhitespace)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait