public class RemoveEmpty extends BaseElementWalker
Modifier and Type | Class and Description |
---|---|
class |
RemoveEmpty.WalkComChannel
zapp me
|
class |
RemoveEmpty.WalkComment
zapp me
|
class |
RemoveEmpty.WalkElement
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes
|
class |
RemoveEmpty.WalkGeneralID
zapp me
|
class |
RemoveEmpty.WalkIgnore
never zapp me
|
class |
RemoveEmpty.WalkMessage
zapp me
|
class |
RemoveEmpty.WalkResource
zapp me
|
class |
RemoveEmpty.WalkResourceAudit
zapp me
|
log
theFactory
Constructor and Description |
---|
RemoveEmpty() |
Modifier and Type | Method and Description |
---|---|
void |
addIgnoreElement(String name) |
void |
removEmpty(JDFNode n)
remove all unlinked crap and empty string attributes
|
void |
removEmptyAttributes(KElement e)
remove all empty string attributes
|
void |
removEmptyElement(KElement e) |
void |
setZappElements(boolean zappElements)
if set to true, attributes with proprietary namespace prefixes are zapped, else kept
|
getFactory
toString, walkTree, walkTreeKidsFirst
public void addIgnoreElement(String name)
public void removEmpty(JDFNode n)
n
- public void removEmptyElement(KElement e)
e
- public void removEmptyAttributes(KElement e)
e
- public void setZappElements(boolean zappElements)
zappElements
- if true, zapp 'em (the default) else keep 'emCopyright © 2018. All rights reserved.