Class LexDataViewWriter


  • public class LexDataViewWriter
    extends Object
    • Constructor Detail

      • LexDataViewWriter

        public LexDataViewWriter​(String xmlLang,
                                 String langUri)
        Constructor.
        Parameters:
        xmlLang - ISO code for Lex Entry or null if not required
        langUri - Language URI for more detailed/additional language information not covered by xmlLang or null if not required
      • LexDataViewWriter

        public LexDataViewWriter()
        Constructor.
    • Method Detail

      • addValue

        public void addValue​(String fieldType,
                             String value,
                             Map<String,​String> attributes)
        Add a single field value with optional attributes map.
        Parameters:
        fieldType - the Field to which the value belongs
        value - the value
        attributes - optional attributes or null if not used
      • addValue

        public void addValue​(String fieldType,
                             String value)
      • addValues

        public void addValues​(String fieldType,
                              List<String> values,
                              Map<String,​String> attributes)
        Add a multiple field values with optional attributes map.
        Parameters:
        fieldType - the Field to which the values belong to
        values - the list of values
        attributes - optional attributes or null if not used