Package org.cip4.jdflib.extensions
Class AbstractXJDFSplit
java.lang.Object
org.cip4.jdflib.extensions.AbstractXJDFSplit
- All Implemented Interfaces:
IXJDFSplit
- Direct Known Subclasses:
ProcessXJDFSplit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SetHelperprotected SetHelpercheckProcessUsage(SetHelper set, VString types) protected SetHelpercheckProduct(SetHelper set, VString types) protected voidconsolidateExchangeResource(XJDFHelper h0, SetHelper set0, XJDFHelper h1, SetHelper set1) remove all but the last exchange resource and replace internal links with dummiesprotected voidprotected voidfix the combinedprocessindex - initial implementation is delete onlyprotected voidfixInOutLink(SetHelper set, LinkInfoMap map) protected voidfixInOutLinks(XJDFHelper xjdf) Deprecated.protected voidfixInOutLinks(XJDFHelper xjdf, VString allTypes) update the Usage of resource links according to the value of typesprotected voidprotected LinkInfoMapgetLinkInfoMap(XJDFHelper xjdf) protected Stringwe need to map to jdf names in order to use linkmapprotected VStringprotected SetHelpermatchesType(SetHelper set, VString types) Deprecated.protected SetHelpermatchesType(SetHelper set, VString types, VString allTypes) abstract Collection<XJDFHelper>splitXJDF(XJDFHelper root)
-
Constructor Details
-
AbstractXJDFSplit
public AbstractXJDFSplit()
-
-
Method Details
-
splitXJDF
- Specified by:
splitXJDFin interfaceIXJDFSplit- Parameters:
root- the main or root XJDF to split- Returns:
- See Also:
-
fixInOutLinks
Deprecated.update the Usage of resource links according to the value of types- Parameters:
xjdf-
-
fixInOutLinks
update the Usage of resource links according to the value of types- Parameters:
xjdf-
-
matchesType
Deprecated.- Parameters:
set- the set to keep or zapptypes- from the xjdf rootallTypes-- Returns:
- null if deleted or no further processing is required
-
matchesType
- Parameters:
set- the set to keep or zapptypes- from the xjdf rootallTypes-- Returns:
- null if deleted or no further processing is required
-
checkProduct
- Parameters:
set-types-- Returns:
-
getProductResources
- Returns:
-
checkProcessUsage
-
checkCPI
- Parameters:
set-types-allTypes-- Returns:
-
getLinkInfoMap
- Parameters:
xjdf-- Returns:
-
fixInOutLink
- Parameters:
set-map-
-
getName
we need to map to jdf names in order to use linkmap- Parameters:
set-- Returns:
-
fixCPI
fix the combinedprocessindex - initial implementation is delete only- Parameters:
set-li-
-
fixUsage
- Parameters:
set-li-
-
consolidateExchangeResources
- 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-
-