Class StringValuedIIRVTerm

java.lang.Object
org.orekit.files.iirv.terms.base.IIRVVectorTerm<String>
org.orekit.files.iirv.terms.base.StringValuedIIRVTerm
All Implemented Interfaces:
Comparable<IIRVVectorTerm<?>>
Direct Known Subclasses:
MessageSourceTerm, MessageTypeTerm, OriginatorRoutingIndicatorTerm, OriginIdentificationTerm, RoutingIndicatorTerm

public class StringValuedIIRVTerm extends IIRVVectorTerm<String>
Non-numeric/mutable term in an IIRV Vector represented as a String.
Since:
13.0
Author:
Nick LaFarge
  • Constructor Details

    • 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 Details

    • 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