Class StringValuedIIRVTerm

    • Constructor Detail

      • StringValuedIIRVTerm

        public StringValuedIIRVTerm​(String pattern,
                                    String value,
                                    int length)
        Constructs an IIRV Vector Term represented by a long. This representation is used for any numeric terms in the IIRV Vector that do not contain a decimal point.
        Parameters:
        pattern - Regular expression pattern that validates the term
        value - Value of the term
        length - Length of the term, measured in number of characters in the String representation
    • Method Detail

      • toEncodedString

        public String toEncodedString​(String termValue)
        Convert an IIRV term value into the encoded String representation, as it would appear in the IIRV message.
        Specified by:
        toEncodedString in class IIRVVectorTerm<String>
        Parameters:
        termValue - Value of the term
        Returns:
        Encoded String representing of the inputted IIRV term it appears in the IIRV message