protected class SystemTestDocReader.TestCaseHandler extends SystemTestDocReader.AnnotatedHandler
Modifier | Constructor and Description |
---|---|
protected |
TestCaseHandler() |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
addAttributes(Set<String> attributes)
Adds the valid attributes for this element.
|
void |
endElement(String uri,
String localName,
String qName) |
protected Annotated |
getAnnotated()
Returns the Annotated instance for this handler.
|
TestCase |
getTestCase()
Returns the
TestCase represented by this element. |
boolean |
isFailure()
Returns if this is a failure test case.
|
boolean |
isMember(String memberQname)
Returns true if the given element is a valid member of this element.
|
void |
setFailure(boolean failure)
Changes if this is a failure test case.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
getAnnotation, setAnnotation
addAttributeList, getAttribute, getIdentifier, getInteger, getParent, getValidAttributes, requireAttribute, requireAttribute, requireIdentifier, requireIdPath, requireInteger, requireNonBlankAttribute, setParent, toIdentifier, toInteger, validateAttributes
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public boolean isMember(String memberQname)
isMember
in class SystemTestDocReader.AnnotatedHandler
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void setFailure(boolean failure)
public boolean isFailure()
protected Set<String> addAttributes(Set<String> attributes)
addAttributes
in class SystemTestDocReader.ElementHandler
protected Annotated getAnnotated()
getAnnotated
in class SystemTestDocReader.AnnotatedHandler
Copyright © 2024 The Cornutum Project. All rights reserved.