Class DocumentParser
java.lang.Object
org.apache.sling.scripting.sightly.impl.html.dom.DocumentParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidparse(String document, MarkupHandler handler) Parse the given document and use the handler to process the markup events
-
Constructor Details
-
DocumentParser
public DocumentParser()
-
-
Method Details
-
parse
Parse the given document and use the handler to process the markup events- Parameters:
document- - the parsed documenthandler- - a markup handler
-