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
|
class |
RemoveEmpty.WalkSpan
zapp me
|
log, theFactory| Constructor and Description |
|---|
RemoveEmpty() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIgnoreElement(java.lang.String name) |
void |
removEmpty(JDFNode n)
remove all unlinked crap and empty string attributes
|
void |
removEmptyAttributes(KElement e)
remove all empty string attributes
|
int |
removEmptyElement(KElement e) |
void |
setZappElements(boolean zappElements)
if set to true, attributes with proprietary namespace prefixes are zapped, else kept
|
getFactorytoString, walkTree, walkTreeKidsFirstpublic void addIgnoreElement(java.lang.String name)
public void removEmpty(JDFNode n)
n - public int removEmptyElement(KElement e)
e - public void removEmptyAttributes(KElement e)
e - public void setZappElements(boolean zappElements)
zappElements - if true, zapp 'em (the default) else keep 'em