107N/A * The contents of this file are subject to the terms of the 107N/A * Common Development and Distribution License, Version 1.0 only 107N/A * (the "License"). You may not use this file except in compliance 107N/A * See the License for the specific language governing permissions 107N/A * and limitations under the License. 107N/A * When distributing Covered Code, include this CDDL HEADER in each 6983N/A * If applicable, add the following below this CDDL HEADER, with the 6983N/A * fields enclosed by brackets "[]" replaced with your own identifying 107N/A * Portions Copyright [yyyy] [name of copyright owner] 5099N/A * Copyright 2006-2010 Sun Microsystems, Inc. 107N/A * This class defines a tag that is used to base presence of one attribute on 107N/A * the presence of another attribute and/or attribute value. 107N/A // The attribute type for which to make the determination. 107N/A // The value for which to make the determination. 107N/A * Creates a new instance of this ifpresent tag. 107N/A * Retrieves the name for this tag. 107N/A * @return The name for this tag. 107N/A * Indicates whether this tag is allowed for use in the extra lines for 107N/A * @return <CODE>true</CODE> if this tag may be used in branch definitions, 107N/A * or <CODE>false</CODE> if not. 107N/A * Performs any initialization for this tag that may be needed while parsing 107N/A * @param templateFile The template file in which this tag is used. 107N/A * @param branch The branch in which this tag is used. 107N/A * @param arguments The set of arguments provided for this tag. 107N/A * @param lineNumber The line number on which this tag appears in the 107N/A * @param warnings A list into which any appropriate warning messages 107N/A * @throws InitializationException If a problem occurs while initializing 107N/A * Performs any initialization for this tag that may be needed while parsing 107N/A * a template definition. 107N/A * @param templateFile The template file in which this tag is used. 107N/A * @param template The template in which this tag is used. 107N/A * @param arguments The set of arguments provided for this tag. 107N/A * @param lineNumber The line number on which this tag appears in the 107N/A * @param warnings A list into which any appropriate warning messages 107N/A * @throws InitializationException If a problem occurs while initializing 107N/A * Generates the content for this tag by appending it to the provided tag. 107N/A * @param templateEntry The entry for which this tag is being generated. 107N/A * @param templateValue The template value to which the generated content 107N/A * @return The result of generating content for this tag.