Package org.yamcs.xtce.util
Class ReferenceFinder
java.lang.Object
org.yamcs.xtce.util.ReferenceFinder
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindAliasReference
(SpaceSystem rootSs, NameReference nr, SpaceSystem startSs) searches for aliases in the parent hierarchyfindArgumentTypeReference
(SpaceSystem ss, String name) findParameterReference
(SpaceSystem ss, String name) findReference
(SpaceSystem startSs, NameReference nr) find reference starting at startSs and looking through the SpaceSystem pathfindReference
(SpaceSystem rootSs, NameReference nr, SpaceSystem ss) find the reference nr mentioned in the space system ss by looking either in root (if absolute reference) or in the parent hierarchy if relative referencestatic int
static PathElement[]
parseReference
(String name) static boolean
verifyPath
(DataType dataType, PathElement[] path)
-
Constructor Details
-
ReferenceFinder
-
-
Method Details
-
findReference
public ReferenceFinder.FoundReference findReference(SpaceSystem rootSs, NameReference nr, SpaceSystem ss) find the reference nr mentioned in the space system ss by looking either in root (if absolute reference) or in the parent hierarchy if relative reference- Returns:
- null if the reference has not been found
-
findAliasReference
public ReferenceFinder.FoundReference findAliasReference(SpaceSystem rootSs, NameReference nr, SpaceSystem startSs) searches for aliases in the parent hierarchy- Parameters:
rootSs
-nr
-startSs
-- Returns:
-
findReference
find reference starting at startSs and looking through the SpaceSystem path- Parameters:
startSs
-nr
-- Returns:
-
findParameterReference
-
findArgumentReference
-
findArgumentTypeReference
-
parseReference
-
verifyPath
-
findSeparator
-