Java XML Element Check isUIParameter(Element ele)

Here you can find the source of isUIParameter(Element ele)

Description

is UI Parameter

License

Open Source License

Parameter

Parameter Description
ele a parameter

Return

true if the local name of ele is "param"

Declaration

public static boolean isUIParameter(Element ele) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2006 Sybase, Inc. and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are 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
 *
 * Contributors:/*ww w  .j  av  a2 s.  c  om*/
 * Sybase, Inc. - initial API and implementation
 *******************************************************************************/

import org.w3c.dom.Element;

public class Main {
    /**
     * @param ele 
     * @return true if the local name of ele is "param"
     */
    public static boolean isUIParameter(Element ele) {
        return "param".equals(ele.getLocalName()); //$NON-NLS-1$
    }
}

Related

  1. isStartElement(final XMLStreamReader reader)
  2. isStartElement(XMLStreamReader xmlRdr, String tagName)
  3. isTableNodes(Element e)
  4. isTextOnly(final Element element)
  5. isTrue(Element el, String tagName, boolean defaultResult)
  6. isUnder5_6(Element root)
  7. isXmlElementChoice(Field f, String xmlElementName)
  8. isXmlElementRequired(Field f)
  9. isXULElement(Element elem)