Interface ValuesExtractor

All Known Subinterfaces:
ModelAwareValuesExtractor, ModelLessValuesExtractor
All Known Implementing Classes:
ImportCDMFrValuesExtractor, ImportCourseListValuesExtractor, ImportCoursePartValuesExtractor, ImportCourseValuesExtractor, ImportTraversableProgramPartValuesExtractor, ModelAwareXMLValuesExtractor, ModelLessXMLValuesExtractor

public interface ValuesExtractor
Interface for values extractors
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    extractValue(String dataPath)
    Extracts the value at the given path
  • Method Details

    • extractValue

      <T> T extractValue(String dataPath) throws Exception
      Extracts the value at the given path
      Type Parameters:
      T - type of the value to retrieve
      Parameters:
      dataPath - the data path
      Returns:
      the value at the given path
      Throws:
      Exception - if an error occurs