Java XML Node Value Check isExpanded(Node node)

Here you can find the source of isExpanded(Node node)

Description

is Expanded

License

Open Source License

Declaration

private static boolean isExpanded(Node node) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2007-2008 Red Hat, Inc.
 * Distributed under license by Red Hat, Inc. All rights reserved.
 * This program is made available under the terms of the
 * Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributor:/*  w  w  w.ja  v  a 2s  .  c om*/
 *     Red Hat, Inc. - initial API and implementation
 ******************************************************************************/

import java.util.WeakHashMap;

import org.w3c.dom.Node;

public class Main {
    private static final WeakHashMap<Node, Object> expandedComboBoxes = new WeakHashMap<Node, Object>();

    private static boolean isExpanded(Node node) {
        return expandedComboBoxes.containsKey(node);
    }
}

Related

  1. isElementNodeOfType(final Node n, final String type)
  2. isElementType(Node _node)
  3. isEmpty(Node node)
  4. isEmptyTag(Node p_node)
  5. isEqual(Node a, Node b)
  6. isFiltered(Node node)
  7. isHidden(Node node)
  8. isIgnorable(Node n)
  9. isInclude(Node node)