Package com.deque.html.axecore.providers
Class StringAxeScriptProvider
- java.lang.Object
-
- com.deque.html.axecore.providers.StringAxeScriptProvider
-
- All Implemented Interfaces:
IAxeScriptProvider
public class StringAxeScriptProvider extends Object implements IAxeScriptProvider
An accessibility script provider.
-
-
Constructor Summary
Constructors Constructor Description StringAxeScriptProvider(String axeSource)Sets the new file path for the file script provider.
-
-
-
Constructor Detail
-
StringAxeScriptProvider
public StringAxeScriptProvider(String axeSource)
Sets the new file path for the file script provider.- Parameters:
axeSource- the string source of axe-core
-
-
Method Detail
-
getScript
public String getScript() throws OperationNotSupportedException, IOException
gets the script from the string.- Specified by:
getScriptin interfaceIAxeScriptProvider- Returns:
- the string of the script
- Throws:
OperationNotSupportedException- if the file doesn't exist yetIOException- thrown if error is encountered
-
-