Class ProcessXJDFSplit

  • All Implemented Interfaces:
    IXJDFSplit

    public class ProcessXJDFSplit
    extends AbstractXJDFSplit
    XJDF splitter that splits based on the types list
    • Constructor Detail

      • ProcessXJDFSplit

        public ProcessXJDFSplit()
    • Method Detail

      • getGroups

        protected java.util.Vector<VString> getGroups()
        Returns:
        the groups
      • prepareRoot

        protected void prepareRoot​(XJDFHelper root)
        we want IDs to avoid double transformation
        Parameters:
        root -
      • processSingle

        protected void processSingle​(XJDFHelper h,
                                     VString types,
                                     VString allTypes)
        Parameters:
        h -
        types -
        allTypes -
      • fixCategory

        protected void fixCategory​(XJDFHelper h,
                                   VString types,
                                   VString allTypes)
        Parameters:
        h -
        types -
        allTypes -
      • getJobPartID

        protected java.lang.String getJobPartID​(XJDFHelper xjdf,
                                                VString types)
      • splitTypes

        protected java.util.Vector<VString> splitTypes​(XJDFHelper root)
        Parameters:
        root -
        Returns:
        the list of types to split into, null is a flag for no split
      • extractTypes

        protected VString extractTypes​(VString types)
        Parameters:
        types -
        Returns:
      • calcTypes

        protected VString calcTypes​(XJDFHelper root)
        ensure that we have the appropriate types setting for the given product list
        Parameters:
        root -
        Returns:
      • addGroup

        public void addGroup​(VString group)
        add a group to split together
        Parameters:
        group -
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()