Class IgnoreWhitespaceFilter

  • All Implemented Interfaces:
    org.w3c.dom.ls.LSParserFilter

    class IgnoreWhitespaceFilter
    extends java.lang.Object
    implements org.w3c.dom.ls.LSParserFilter
    XML Filter that ignores whitespace-only nodes.
    • Field Summary

      • Fields inherited from interface org.w3c.dom.ls.LSParserFilter

        FILTER_ACCEPT, FILTER_INTERRUPT, FILTER_REJECT, FILTER_SKIP
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      short acceptNode​(org.w3c.dom.Node nodeArg)  
      int getWhatToShow()  
      short startElement​(org.w3c.dom.Element elementArg)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IgnoreWhitespaceFilter

        IgnoreWhitespaceFilter()
    • Method Detail

      • acceptNode

        public short acceptNode​(org.w3c.dom.Node nodeArg)
        Specified by:
        acceptNode in interface org.w3c.dom.ls.LSParserFilter
      • startElement

        public short startElement​(org.w3c.dom.Element elementArg)
        Specified by:
        startElement in interface org.w3c.dom.ls.LSParserFilter
      • getWhatToShow

        public int getWhatToShow()
        Specified by:
        getWhatToShow in interface org.w3c.dom.ls.LSParserFilter