public interface HtmlProcessor extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
read(String html,
List<TagVisitor> visitors)
Process stored HTML.
|
String |
write(String html,
List<TagVisitor> visitors)
Process HTML to store.
|
String read(String html, List<TagVisitor> visitors) throws IOException
html
- The stored HTMLvisitors
- Visitors applied to the DOM treeIOException
- when the DOM tree cannot be serializedString write(String html, List<TagVisitor> visitors) throws IOException
html
- The HTML to be storedvisitors
- Visitors applied to the DOM treeIOException
- when the DOM tree cannot be serializedCopyright © 2012–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.