org.apache.tapestry5.internal.services
Class StaxTemplateParser
java.lang.Object
org.apache.tapestry5.internal.services.StaxTemplateParser
public class StaxTemplateParser
- extends Object
Implementation of TemplateParser based on the Streaming API for XML. It uses a few features of Stax2 and is
therefore dependent on the Woodstock STAX parser.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_NAMESPACE_URI
public static final String XML_NAMESPACE_URI
- See Also:
- Constant Field Values
TAPESTRY_SCHEMA_5_0_0
public static final String TAPESTRY_SCHEMA_5_0_0
- Used as the namespace URI for Tapestry templates.
- See Also:
- Constant Field Values
TAPESTRY_SCHEMA_5_1_0
public static final String TAPESTRY_SCHEMA_5_1_0
- Adds several new elements.
- See Also:
- Constant Field Values
StaxTemplateParser
public StaxTemplateParser(Resource resource,
org.codehaus.stax2.XMLInputFactory2 inputFactory)
throws javax.xml.stream.XMLStreamException,
IOException
- Throws:
javax.xml.stream.XMLStreamException
IOException
parse
public ComponentTemplate parse(boolean compressWhitespace)
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.