org.apache.tapestry.test
Class IntegrationTestScriptParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.hivemind.parse.AbstractParser
org.apache.tapestry.test.IntegrationTestScriptParser
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
public class IntegrationTestScriptParser
- extends org.apache.hivemind.parse.AbstractParser
Parses Tapestry test scripts; XML files that define an execution environment and
a sequence of operations and assertions.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.hivemind.parse.AbstractParser |
characters, endElement, error, fatalError, getElementPath, getLocation, getResource, getState, peekElementName, peekObject, pop, push, push, setDocumentLocator, setState, startElement, unexpectedElement, updateObject, warning |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegrationTestScriptParser
public IntegrationTestScriptParser()
parse
public ScriptDescriptor parse(org.apache.hivemind.Resource script)
initializeParser
protected void initializeParser(org.apache.hivemind.Resource resource,
int startState)
- Overrides:
initializeParser
in class org.apache.hivemind.parse.AbstractParser
resetParser
protected void resetParser()
- Overrides:
resetParser
in class org.apache.hivemind.parse.AbstractParser
begin
protected void begin(java.lang.String elementName,
java.util.Map attributes)
- Specified by:
begin
in class org.apache.hivemind.parse.AbstractParser
end
protected void end(java.lang.String elementName)
- Specified by:
end
in class org.apache.hivemind.parse.AbstractParser
beginRequest
public void beginRequest()
peekContent
protected java.lang.String peekContent()
- Overrides:
peekContent
in class org.apache.hivemind.parse.AbstractParser