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.WalkResource
zapp me
|
logtheFactory| Constructor and Description |
|---|
RemoveEmpty() |
| Modifier and Type | Method and Description |
|---|---|
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
|
getFactorytoString, walkTree, walkTreeKidsFirstpublic 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 © 2015. All rights reserved.