Class SectionHelperBase

  • All Implemented Interfaces:
    SectionHelperIfc
    Direct Known Subclasses:
    SectionHelper12Impl, SectionHelper20Impl

    public abstract class SectionHelperBase
    extends Object
    implements SectionHelperIfc
    Sections are pretty version-independent, base class does most of the work.

    Copyright: Copyright (c) 2005

    Organization: Sakai Project

    Version:
    $Id$
    Author:
    Ed Smiley esmiley@stanford.edu some portions of code @author Shastri, Rashmi
    • Constructor Detail

      • SectionHelperBase

        public SectionHelperBase()
    • Method Detail

      • getQtiVersion

        protected abstract int getQtiVersion()
      • updateSectionXml

        public Section updateSectionXml​(Section sectionXml,
                                        String xpath,
                                        String value)
        Update the Section XML for Xpath
        Specified by:
        updateSectionXml in interface SectionHelperIfc
        Parameters:
        sectionXml - the Section XML
        xpath - the Xpath
        value - the value for Xpath
        Returns:
        the updated Section XML