Parses XML documents, using a standard SAX parser.
This implementation populates tree nodes with detailed location information (document name and line number).
50515253545556
@Property(value = {DEFAULT_PATTERN}, unbounded = PropertyUnbounded.ARRAY) public static final String PATTERNS_PARAMETER = "org.apache.sling.scripting.thymeleaf.impl.templatemodehandler.XmlTemplateModeHandler.patterns"; public XmlTemplateModeHandler() { super(TEMPLATE_MODE_NAME, new XmlNonValidatingSAXTemplateParser(poolSize()), new XmlTemplateWriter()); }
563564565566567568569
* * @since 2.0.8 */ public static Document getXmlDOMFor(final Reader source) { Validate.notNull(source, "Source cannot be null"); return getDOMFor(source, new XmlNonValidatingSAXTemplateParser(1)); }