Class RemoveEmpty

    • Constructor Detail

      • RemoveEmpty

        public RemoveEmpty()
    • Method Detail

      • addIgnoreElement

        public void addIgnoreElement​(java.lang.String name)
      • removEmpty

        public void removEmpty​(JDFNode n)
        remove all unlinked crap and empty string attributes
        Parameters:
        n -
      • removEmptyElement

        public int removEmptyElement​(KElement e)
        Parameters:
        e -
      • removEmptyAttributes

        public void removEmptyAttributes​(KElement e)
        remove all empty string attributes
        Parameters:
        e -
      • 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