Package org.orekit.files.iirv.terms.base
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 Summary
Constructors Constructor Description StringValuedIIRVTerm(String pattern, String value, int length)
Constructs an IIRV Vector Term represented by a long.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toEncodedString(String termValue)
Convert an IIRV term value into the encoded String representation, as it would appear in the IIRV message.-
Methods inherited from class org.orekit.files.iirv.terms.base.IIRVVectorTerm
compareTo, equals, hashCode, length, toEncodedString, validateString, value
-
-
-
-
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 termvalue
- Value of the termlength
- 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 classIIRVVectorTerm<String>
- Parameters:
termValue
- Value of the term- Returns:
- Encoded String representing of the inputted IIRV term it appears in the IIRV message
-
-