org.apache.tapestry.test
Class IntegrationTestScriptParser

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.apache.hivemind.parse.AbstractParser
          extended byorg.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

Constructor Summary
IntegrationTestScriptParser()
           
 
Method Summary
protected  void begin(java.lang.String elementName, java.util.Map attributes)
           
 void beginRequest()
           
protected  void end(java.lang.String elementName)
           
protected  void initializeParser(org.apache.hivemind.Resource resource, int startState)
           
 ScriptDescriptor parse(org.apache.hivemind.Resource script)
           
protected  java.lang.String peekContent()
           
protected  void resetParser()
           
 
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
 

Constructor Detail

IntegrationTestScriptParser

public IntegrationTestScriptParser()
Method Detail

parse

public ScriptDescriptor parse(org.apache.hivemind.Resource script)

initializeParser

protected void initializeParser(org.apache.hivemind.Resource resource,
                                int startState)

resetParser

protected void resetParser()

begin

protected void begin(java.lang.String elementName,
                     java.util.Map attributes)

end

protected void end(java.lang.String elementName)

beginRequest

public void beginRequest()

peekContent

protected java.lang.String peekContent()