Class AbstractXJDFSplit

java.lang.Object
org.cip4.jdflib.extensions.AbstractXJDFSplit
All Implemented Interfaces:
IXJDFSplit
Direct Known Subclasses:
ProcessXJDFSplit

public abstract class AbstractXJDFSplit extends Object implements IXJDFSplit
  • Constructor Details

    • AbstractXJDFSplit

      public AbstractXJDFSplit()
  • Method Details

    • splitXJDF

      public abstract Collection<XJDFHelper> splitXJDF(XJDFHelper root)
      Specified by:
      splitXJDF in interface IXJDFSplit
      Parameters:
      root - the main or root XJDF to split
      Returns:
      See Also:
    • fixInOutLinks

      @Deprecated protected void fixInOutLinks(XJDFHelper xjdf)
      Deprecated.
      update the Usage of resource links according to the value of types
      Parameters:
      xjdf -
    • fixInOutLinks

      protected void fixInOutLinks(XJDFHelper xjdf, VString allTypes)
      update the Usage of resource links according to the value of types
      Parameters:
      xjdf -
    • matchesType

      @Deprecated protected SetHelper matchesType(SetHelper set, VString types)
      Deprecated.
      Parameters:
      set - the set to keep or zapp
      types - from the xjdf root
      allTypes -
      Returns:
      null if deleted or no further processing is required
    • matchesType

      protected SetHelper matchesType(SetHelper set, VString types, VString allTypes)
      Parameters:
      set - the set to keep or zapp
      types - from the xjdf root
      allTypes -
      Returns:
      null if deleted or no further processing is required
    • checkProduct

      protected SetHelper checkProduct(SetHelper set, VString types)
      Parameters:
      set -
      types -
      Returns:
    • getProductResources

      protected VString getProductResources()
      Returns:
    • checkProcessUsage

      protected SetHelper checkProcessUsage(SetHelper set, VString types)
    • checkCPI

      protected SetHelper checkCPI(SetHelper set, VString types, VString allTypes)
      Parameters:
      set -
      types -
      allTypes -
      Returns:
    • getLinkInfoMap

      protected LinkInfoMap getLinkInfoMap(XJDFHelper xjdf)
      Parameters:
      xjdf -
      Returns:
    • fixInOutLink

      protected void fixInOutLink(SetHelper set, LinkInfoMap map)
      Parameters:
      set -
      map -
    • getName

      protected String getName(SetHelper set)
      we need to map to jdf names in order to use linkmap
      Parameters:
      set -
      Returns:
    • fixCPI

      protected void fixCPI(SetHelper set, LinkInfo li)
      fix the combinedprocessindex - initial implementation is delete only
      Parameters:
      set -
      li -
    • fixUsage

      protected void fixUsage(SetHelper set, LinkInfo li)
      Parameters:
      set -
      li -
    • consolidateExchangeResources

      protected void consolidateExchangeResources(Vector<XJDFHelper> v)
      Parameters:
      v -
    • consolidateExchangeResource

      protected void consolidateExchangeResource(XJDFHelper h0, SetHelper set0, XJDFHelper h1, SetHelper set1)
      remove all but the last exchange resource and replace internal links with dummies
      Parameters:
      h0 -
      set0 -
      h1 -
      set1 -