public interface DocumentAdapter
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIncludedScript(java.lang.String srcAttribute)
Returns the contents of an included script, given its src attribute.
|
ScriptingHandler |
getScriptingHandler()
Returns the Scriptable object associated with the document
|
void |
setDocument(org.w3c.dom.html.HTMLDocument document)
Records the root (Document) node.
|
void setDocument(org.w3c.dom.html.HTMLDocument document)
java.lang.String getIncludedScript(java.lang.String srcAttribute) throws java.io.IOException
srcAttribute
- the relative URL for the included scriptjava.io.IOException
- if there is a problem retrieving the scriptScriptingHandler getScriptingHandler()