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
Non-numeric/mutable term in an IIRV Vector represented as a String.
- Since:
- 13.0
- Author:
- Nick LaFarge
-
Constructor Summary
ConstructorsConstructorDescriptionStringValuedIIRVTerm(String pattern, String value, int length) Constructs an IIRV Vector Term represented by a long. -
Method Summary
Modifier and TypeMethodDescriptiontoEncodedString(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 Details
-
StringValuedIIRVTerm
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 Details
-
toEncodedString
Convert an IIRV term value into the encoded String representation, as it would appear in the IIRV message.- Specified by:
toEncodedStringin classIIRVVectorTerm<String>- Parameters:
termValue- Value of the term- Returns:
- Encoded String representing of the inputted IIRV term it appears in the IIRV message
-