Package org.cip4.jdflib.elementwalker
Class RemovePrivate
java.lang.Object
org.cip4.jdflib.elementwalker.ElementWalker
org.cip4.jdflib.elementwalker.BaseElementWalker
org.cip4.jdflib.elementwalker.RemovePrivate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassthe resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classesclasszapp meclasszapp me -
Field Summary
Fields inherited from class org.cip4.jdflib.elementwalker.ElementWalker
theFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd a prefix if never called -all prefixes are zappedvoidsetZappAttributes(boolean zappAttributes) if set to true, attributes with proprietary namespace prefixes are zapped, else keptvoidsetZappElements(boolean zappElements) if set to true, attributes with proprietary namespace prefixes are zapped, else keptvoidsetZappGeneralID(boolean zappGeneralID) if set to true, generalID elements with proprietary namespace prefixes are zapped, else keptMethods inherited from class org.cip4.jdflib.elementwalker.BaseElementWalker
getFactoryMethods inherited from class org.cip4.jdflib.elementwalker.ElementWalker
toString, walkTree, walkTreeKidsFirst
-
Constructor Details
-
RemovePrivate
public RemovePrivate()
-
-
Method Details
-
addPrefix
add a prefix if never called -all prefixes are zapped- Parameters:
prefix-
-
setZappGeneralID
public void setZappGeneralID(boolean zappGeneralID) if set to true, generalID elements with proprietary namespace prefixes are zapped, else kept- Parameters:
zappGeneralID- if true, zapp 'em (the default) else keep 'em
-
setZappAttributes
public void setZappAttributes(boolean zappAttributes) if set to true, attributes with proprietary namespace prefixes are zapped, else kept- Parameters:
zappAttributes- if true, zapp 'em (the default) else keep 'em
-
setZappElements
public void setZappElements(boolean zappElements) if set to true, attributes with proprietary namespace prefixes are zapped, else kept- Parameters:
zappElements- if true, zapp 'em (the default) else keep 'em
-