Class XtceAssembler


  • public class XtceAssembler
    extends Object
    Experimental export of Mission Database to XTCE.
    • Constructor Detail

      • XtceAssembler

        public XtceAssembler()
    • Method Detail

      • toXtce

        public final String toXtce​(XtceDb xtceDb,
                                   String topSpaceSystem,
                                   Predicate<String> filter)
        Convert the mission database to XTCE starting at the specified top container and saving only filtered containers.

        The filter will be called with the Fully Qualified Name of each container under the top and if it returns true, the specified container will be saved.

        Note that in the resulting file (if the top is not the root) the containers will have their qualified name stripped by the top name. In addition there might be references to objects from SpaceSystems that are not part of the export.

        Parameters:
        xtceDb -
        topSpaceSystem - the fully qualified name of the space system where the export should start from. If the space system does not exist, a IllegalArgumentException will be thrown.
        filter -
        Returns: