Class SPARQLResultsXSVMappingStrategy

    • Field Detail

      • bindingNames

        protected List<String> bindingNames
      • numberPattern

        protected static final Pattern numberPattern
    • Constructor Detail

      • SPARQLResultsXSVMappingStrategy

        public SPARQLResultsXSVMappingStrategy​(ValueFactory valueFactory)
    • Method Detail

      • getBindingNames

        public List<String> getBindingNames()
      • generateHeader

        public String[] generateHeader​(BindingSet bean)
        Specified by:
        generateHeader in interface com.opencsv.bean.MappingStrategy<BindingSet>
      • isAnnotationDriven

        public boolean isAnnotationDriven()
        Specified by:
        isAnnotationDriven in interface com.opencsv.bean.MappingStrategy<BindingSet>
      • parseNumberPatternMatch

        protected Value parseNumberPatternMatch​(String valueString)
        This method parses a number as matched by numberPattern into a Value.
        Parameters:
        valueString - The string to be parsed into a number
        Returns:
        The parsed value
      • setErrorLocale

        public void setErrorLocale​(Locale errorLocale)
        Specified by:
        setErrorLocale in interface com.opencsv.bean.MappingStrategy<BindingSet>
      • setType

        public void setType​(Class<? extends BindingSet> type)
        Specified by:
        setType in interface com.opencsv.bean.MappingStrategy<BindingSet>
      • transmuteBean

        public String[] transmuteBean​(BindingSet bean)
        Specified by:
        transmuteBean in interface com.opencsv.bean.MappingStrategy<BindingSet>