com.meterware.httpunit.parsing
Interface DocumentAdapter


public interface DocumentAdapter

Author:
Russell Gold

Method Summary
 java.lang.String getIncludedScript(java.lang.String srcAttribute)
          Returns the contents of an included script, given its src attribute.
 ScriptableDelegate getScriptableObject()
          Returns the Scriptable object associated with the document
 void setRootNode(org.w3c.dom.Node rootNode)
          Records the root (Document) node.
 

Method Detail

setRootNode

void setRootNode(org.w3c.dom.Node rootNode)
Records the root (Document) node.


getIncludedScript

java.lang.String getIncludedScript(java.lang.String srcAttribute)
                                   throws java.io.IOException
Returns the contents of an included script, given its src attribute.

Parameters:
srcAttribute - the relative URL for the included script
Returns:
the contents of the script.
Throws:
java.io.IOException - if there is a problem retrieving the script

getScriptableObject

ScriptableDelegate getScriptableObject()
Returns the Scriptable object associated with the document


Copyright © 2000-2006 Russell Gold. See license agreement for rights granted.