Class AuditParser


  • public class AuditParser
    extends Object
    Parsing utilities for tck-audit.xml
    Author:
    Shane Bryzak
    • Method Detail

      • getName

        public String getName()
      • getSpecId

        public String getSpecId()
      • getVersion

        public String getVersion()
      • getSectionTitle

        public String getSectionTitle​(String sectionId)
      • getSectionIds

        public List<String> getSectionIds()
      • getAssertionsForSection

        public List<AuditAssertion> getAssertionsForSection​(String sectionId)
        Parameters:
        sectionId - - id of related section
        Returns:
        list of AuditAssertions
      • getItemsForSection

        public List<SectionItem> getItemsForSection​(String sectionId)
        Returns a list of items for the specified section ID
        Parameters:
        sectionId - - id of related section
        Returns:
        list of Section items
      • hasAssertion

        public boolean hasAssertion​(String sectionId,
                                    String assertionId)
        Parameters:
        sectionId - - id of related section
        assertionId - - assertion id
        Returns:
        true if it has assertion
      • getSectionOriginalId

        public String getSectionOriginalId​(String sectionId)
      • hasSectionIdsGenerated

        public boolean hasSectionIdsGenerated()