code: protected boolean applyFilter(Node node, int nodeType) {
          if (fFilter != null && (fWhatToShowFilter & nodeType) != 0) {
  
              short code = fFilter.acceptNode(node);
              switch (code) {
                  case NodeFilter.FILTER_REJECT :
                  case NodeFilter.FILTER_SKIP :
                      return false; // skip the node
                  default : // fall through..
              }
          }
          return true;
      }
docs: Applies a filter on the node to serialize
  
  @param node The Node to serialize
  @return True if the node is to be serialized else false if the node
  is to be rejected or skipped.