Package org.cip4.jdflib.extensions
Class ProcessXJDFSplit
java.lang.Object
org.cip4.jdflib.extensions.AbstractXJDFSplit
org.cip4.jdflib.extensions.ProcessXJDFSplit
- All Implemented Interfaces:
IXJDFSplit
XJDF splitter that splits based on the types list
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd a group to split togetherprotected VStringcalcTypes(XJDFHelper root) ensure that we have the appropriate types setting for the given product listprotected VStringextractTypes(VString types) protected VStringextractTypes(XJDFHelper root, VString types, int pos) protected voidfixCategory(XJDFHelper h, VString types, VString allTypes) static ProcessXJDFSplitprotected StringgetJobPartID(XJDFHelper xjdf, VString types) protected voidprepareRoot(XJDFHelper root) we want IDs to avoid double transformationprotected voidprocessSingle(XJDFHelper h, VString types, VString allTypes) voidsplitTypes(XJDFHelper root) splitXJDF(XJDFHelper root) toString()Methods inherited from class org.cip4.jdflib.extensions.AbstractXJDFSplit
checkCPI, checkProcessUsage, checkProduct, consolidateExchangeResource, consolidateExchangeResources, fixCPI, fixInOutLink, fixInOutLinks, fixInOutLinks, fixUsage, getExchangeUsage, getLinkInfoMap, getName, getProductResources, matchesType, matchesType
-
Constructor Details
-
ProcessXJDFSplit
public ProcessXJDFSplit()
-
-
Method Details
-
getICSSplit
-
setICSGroups
public void setICSGroups() -
getGroups
- Returns:
- the groups
-
splitXJDF
- Specified by:
splitXJDFin interfaceIXJDFSplit- Specified by:
splitXJDFin classAbstractXJDFSplit- Parameters:
root- the main or root XJDF to split- Returns:
- See Also:
-
prepareRoot
we want IDs to avoid double transformation- Parameters:
root-
-
processSingle
- Parameters:
h-types-allTypes-
-
fixCategory
- Parameters:
h-types-allTypes-
-
getJobPartID
-
splitTypes
- Parameters:
root-- Returns:
- the list of types to split into, null is a flag for no split
-
extractTypes
-
extractTypes
- Parameters:
types-- Returns:
-
calcTypes
ensure that we have the appropriate types setting for the given product list- Parameters:
root-- Returns:
-
addGroup
add a group to split together- Parameters:
group-
-
toString
-