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
-
public class RemovePrivate extends BaseElementWalker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRemovePrivate.WalkElementthe resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classesclassRemovePrivate.WalkGeneralIDzapp meclassRemovePrivate.WalkPrivatezapp me
-
Field Summary
-
Fields inherited from class org.cip4.jdflib.elementwalker.ElementWalker
theFactory
-
-
Constructor Summary
Constructors Constructor Description RemovePrivate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPrefix(java.lang.String prefix)add 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 kept-
Methods inherited from class org.cip4.jdflib.elementwalker.BaseElementWalker
getFactory
-
Methods inherited from class org.cip4.jdflib.elementwalker.ElementWalker
toString, walkTree, walkTreeKidsFirst
-
-
-
-
Method Detail
-
addPrefix
public void addPrefix(java.lang.String prefix)
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
-
-