Package org.yamcs.xtce.util
Class DataTypeUtil
- java.lang.Object
-
- org.yamcs.xtce.util.DataTypeUtil
-
public class DataTypeUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description DataTypeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataTypegetMemberType(DataType type, PathElement[] path)traverses the type hierarchy to retrieve the type referenced by path
-
-
-
Method Detail
-
getMemberType
public static DataType getMemberType(DataType type, PathElement[] path)
traverses the type hierarchy to retrieve the type referenced by path- Parameters:
type- - the type for which the hierarchy is traversedpath- - the elements used to traverse the hierarchy- Returns:
- - the found sub-member of the type or null if no member has been found.
-
-