org.jboss.test.audit.report
Class AuditParser
java.lang.Object
org.jboss.test.audit.report.AuditParser
public class AuditParser
- extends Object
Parsing utilities for tck-audit.xml
- Author:
- Shane Bryzak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditParser
public AuditParser(InputStream source)
getName
public String getName()
getSpecId
public String getSpecId()
getVersion
public String getVersion()
getSectionTitle
public String getSectionTitle(String sectionId)
getSectionItems
public Map<String,List<SectionItem>> getSectionItems()
getSectionIds
public List<String> getSectionIds()
getAssertionsForSection
public List<AuditAssertion> getAssertionsForSection(String sectionId)
- Parameters:
sectionId
-
- Returns:
getItemsForSection
public List<SectionItem> getItemsForSection(String sectionId)
- Returns a list of items for the specified section ID
- Parameters:
sectionId
-
- Returns:
hasAssertion
public boolean hasAssertion(String sectionId,
String assertionId)
- Parameters:
sectionId
- assertionId
-
- Returns:
parse
public void parse()
throws Exception
- Load the spec assertions defined in tck-audit.xml
- Throws:
Exception
Copyright © 2009-2012. All Rights Reserved.