public class FixVersionImpl extends PackageElementWalker
Modifier and Type | Field and Description |
---|---|
protected boolean |
bFixIDs |
protected boolean |
bFixNewDuplicate |
protected boolean |
bLayoutPrepToStripping |
protected boolean |
bOK |
protected boolean |
bZappDeprecated |
protected boolean |
bZappInvalid |
protected boolean |
fixICSVersions |
protected JDFElement.EnumVersion |
version |
log
theFactory
Constructor and Description |
---|
FixVersionImpl(FixVersionImpl fixVersion) |
FixVersionImpl(JDFElement.EnumVersion _version) |
Modifier and Type | Method and Description |
---|---|
protected BaseWalker |
constructWalker(String name) |
boolean |
convert(KElement e)
convert the element e to whichever version has been set up here
|
boolean |
isFixICSVersions() |
boolean |
isFixNewDuplicate() |
boolean |
isFixVersionIDFix() |
boolean |
isOK()
any problems on the way?
|
boolean |
isXJDF() |
boolean |
isZappDeprecated() |
protected boolean |
lessThanVersion(JDFElement.EnumVersion v)
returns true if v is less than the target version
|
void |
setBZappInvalid(boolean zappInvalid) |
void |
setFirsthour(int firsthour) |
void |
setFixICSVersions(boolean pFixICSVersions) |
void |
setFixNewDuplicate(boolean bFixNewDuplicate) |
void |
setFixVersionIDFix(boolean fixVersionIDFix) |
void |
setLasthour(int lasthour) |
void |
setLayoutPrepToStripping(boolean layoutPrepToStripping) |
void |
setZappDeprecated(boolean bZappDeprecated) |
String |
toString() |
protected void |
updateAssemblyIDS(JDFElement e) |
getFactory
walkTree, walkTreeKidsFirst
protected boolean bFixIDs
protected boolean bZappInvalid
protected boolean bZappDeprecated
protected boolean bFixNewDuplicate
protected final JDFElement.EnumVersion version
protected boolean bOK
protected boolean fixICSVersions
protected boolean bLayoutPrepToStripping
public FixVersionImpl(JDFElement.EnumVersion _version)
_version
- public FixVersionImpl(FixVersionImpl fixVersion)
fixVersion
- public boolean isFixNewDuplicate()
public void setFixNewDuplicate(boolean bFixNewDuplicate)
bFixNewDuplicate
- the bFixNewDuplicate to setpublic boolean isZappDeprecated()
public void setZappDeprecated(boolean bZappDeprecated)
bZappDeprecated
- the bZappDeprecated to setpublic boolean isFixICSVersions()
public void setFixICSVersions(boolean pFixICSVersions)
pFixICSVersions
- the fixICSVersions to setpublic boolean isFixVersionIDFix()
public boolean isOK()
public void setFixVersionIDFix(boolean fixVersionIDFix)
fixVersionIDFix
- the bFixVersionIDFix to set if true then invalid, i.e. numeric ID, IDREF and IDREFS are prefixed with an '_' when calling
fixVersionpublic void setLayoutPrepToStripping(boolean layoutPrepToStripping)
layoutPrepToStripping
- the bLayoutPrepToStripping to setpublic boolean convert(KElement e)
e
- the element to convert - typically a JDF elementprotected void updateAssemblyIDS(JDFElement e)
e
- the assembly or assemblysection to updateprotected boolean lessThanVersion(JDFElement.EnumVersion v)
v
- public void setBZappInvalid(boolean zappInvalid)
zappInvalid
- the bZappInvalid to setprotected BaseWalker constructWalker(String name)
constructWalker
in class PackageElementWalker
PackageElementWalker.constructWalker(java.lang.String)
public boolean isXJDF()
public void setFirsthour(int firsthour)
firsthour
- the firsthour to setpublic void setLasthour(int lasthour)
lasthour
- the lasthour to setpublic String toString()
toString
in class ElementWalker
Object.toString()
Copyright © 2018. All rights reserved.