public final class HtmlInspectorEngine.ParseInfo extends Object
Provides information from collected data in a HTML content.
Modifier and Type | Method and Description |
---|---|
void |
addTo(List<HtmlInspectorEngine.ParseInfo> list)
Add this info to the given list if and only if some statements have been captured
|
Map<String,String> |
getAttributes()
Returns the additional attributes.
|
List<String> |
getCapturedStatements()
Gets the captured statement by parsing.
|
String |
replacement(EngineRequest request,
UrlProvider urlProvider,
List<ConvertibleNut> referenced)
Creates a replacement for this information
|
public String replacement(EngineRequest request, UrlProvider urlProvider, List<ConvertibleNut> referenced) throws IOException
Creates a replacement for this information
request
- the requesturlProvider
- object that computes URLreferenced
- any nut created nut will be added to this listString
IOException
- if any I/O error occurspublic Map<String,String> getAttributes()
Returns the additional attributes.
public List<String> getCapturedStatements()
Gets the captured statement by parsing.
public void addTo(List<HtmlInspectorEngine.ParseInfo> list)
Add this info to the given list if and only if some statements have been captured
list
- the listCopyright © 2012-2015. All Rights Reserved.