org.cip4.jdflib.elementwalker
Class FixVersion.WalkApprovalSuccess
java.lang.Object
org.cip4.jdflib.elementwalker.BaseWalker
org.cip4.jdflib.elementwalker.FixVersion.WalkElement
org.cip4.jdflib.elementwalker.FixVersion.WalkResource
org.cip4.jdflib.elementwalker.FixVersion.WalkApprovalSuccess
- All Implemented Interfaces:
- Comparable<BaseWalker>, IWalker
- Enclosing class:
- FixVersion
public class FixVersion.WalkApprovalSuccess
- extends FixVersion.WalkResource
- Author:
- Dr. Rainer Prosi, Heidelberger Druckmaschinen AG * fixes an ApprovalSuccess by moving the appropriate elements in and out of ApprovalDetails
elements June 7, 2009
|
Method Summary |
boolean |
matches(KElement toCheck)
this is the check whether or not to use this walker for a given element should be overwritten |
KElement |
walk(KElement e1,
KElement trackElem)
the mother routine for walking.... |
FixVersion.WalkApprovalSuccess
public FixVersion.WalkApprovalSuccess()
matches
public boolean matches(KElement toCheck)
- Description copied from class:
BaseWalker
- this is the check whether or not to use this walker for a given element should be overwritten
- Overrides:
matches in class FixVersion.WalkResource
- Parameters:
toCheck -
- Returns:
- true if matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
walk
public KElement walk(KElement e1,
KElement trackElem)
- Description copied from class:
BaseWalker
- the mother routine for walking....
- Specified by:
walk in interface IWalker- Overrides:
walk in class FixVersion.WalkResource
- Parameters:
e1 - - the element to tracktrackElem - - always null
- Returns:
- the element to continue walking
- See Also:
version fixing routine
for JDF uses heuristics to modify this element and its children to be compatible with a given version in general, it will be able to move from low to
high versions but potentially fail when attempting to move from higher to lower versions
Copyright © 2013. All Rights Reserved.