|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cip4.jdflib.elementwalker.ElementWalker
org.cip4.jdflib.elementwalker.BaseElementWalker
org.cip4.jdflib.elementwalker.RemoveEmpty
public class RemoveEmpty
| Nested Class Summary | |
|---|---|
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 |
| Field Summary |
|---|
| Fields inherited from class org.cip4.jdflib.elementwalker.BaseElementWalker |
|---|
log |
| Fields inherited from class org.cip4.jdflib.elementwalker.ElementWalker |
|---|
theFactory |
| Constructor Summary | |
|---|---|
RemoveEmpty()
|
|
| Method Summary | |
|---|---|
protected BaseWalkerFactory |
getFactory()
|
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 |
| Methods inherited from class org.cip4.jdflib.elementwalker.BaseElementWalker |
|---|
constructWalkers |
| Methods inherited from class org.cip4.jdflib.elementwalker.ElementWalker |
|---|
toString, walkTree, walkTreeKidsFirst |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoveEmpty()
| Method Detail |
|---|
public void removEmpty(JDFNode n)
n - public void removEmptyElement(KElement e)
e - public void removEmptyAttributes(KElement e)
e - protected BaseWalkerFactory getFactory()
getFactory in class BaseElementWalkerpublic void setZappElements(boolean zappElements)
zappElements - if true, zapp 'em (the default) else keep 'em
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||