标签:1.0 version library sch nat under boolean .net section
礼悟:
好好学习合思考,尊师重道存感恩。叶见寻根三返一,江河湖海同一体。
虚怀若谷良心主,愿行无悔给最苦。读书锻炼强身心,诚劝且行且珍惜。
后人来此能依此模板而行,方便一二,给最苦 的心意就没白费。
<?xml version="1.0" encoding="UTF-8" ?> <!-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. The contents of this file are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development and Distribution License("CDDL") (collectively, the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html or packager/legal/LICENSE.txt. See the License for the specific language governing permissions and limitations under the License. When distributing the software, include this License Header Notice in each file and include the License file at packager/legal/LICENSE.txt. GPL Classpath Exception: Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the GPL Version 2 section of the License file that accompanied this code. Modifications: If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyright [year] [name of copyright owner]" Contributor(s): If you wish your version of this file to be governed by only the CDDL or only the GPL Version 2, indicate your decision by adding "[Contributor] elects to include this software in this distribution under the [CDDL or GPL Version 2] license." If you don‘t indicate a single choice of license, a recipient has the option to distribute your version of this file under either the CDDL, the GPL Version 2 or to extend the choice of license to its licensees as provided above. However, if you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the option applies only if the new code is made subject to such option by the copyright holder. --> <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0"> <description>JSTL 1.1 functions library</description> <display-name>JSTL functions</display-name> <tlib-version>1.1</tlib-version> <short-name>fn</short-name> <uri>http://java.sun.com/jsp/jstl/functions</uri> <function> <description> Tests if an input string contains the specified substring. </description> <name>contains</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>boolean contains(java.lang.String, java.lang.String)</function-signature> <example> <c:if test="${fn:contains(name, searchString)}"> </example> </function> <function> <description> Tests if an input string contains the specified substring in a case insensitive way. </description> <name>containsIgnoreCase</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>boolean containsIgnoreCase(java.lang.String, java.lang.String)</function-signature> <example> <c:if test="${fn:containsIgnoreCase(name, searchString)}"> </example> </function> <function> <description> Tests if an input string ends with the specified suffix. </description> <name>endsWith</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>boolean endsWith(java.lang.String, java.lang.String)</function-signature> <example> <c:if test="${fn:endsWith(filename, ".txt")}"> </example> </function> <function> <description> Escapes characters that could be interpreted as XML markup. </description> <name>escapeXml</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String escapeXml(java.lang.String)</function-signature> <example> ${fn:escapeXml(param:info)} </example> </function> <function> <description> Returns the index withing a string of the first occurrence of a specified substring. </description> <name>indexOf</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>int indexOf(java.lang.String, java.lang.String)</function-signature> <example> ${fn:indexOf(name, "-")} </example> </function> <function> <description> Joins all elements of an array into a string. </description> <name>join</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String join(java.lang.String[], java.lang.String)</function-signature> <example> ${fn:join(array, ";")} </example> </function> <function> <description> Returns the number of items in a collection, or the number of characters in a string. </description> <name>length</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>int length(java.lang.Object)</function-signature> <example> You have ${fn:length(shoppingCart.products)} in your shopping cart. </example> </function> <function> <description> Returns a string resulting from replacing in an input string all occurrences of a "before" string into an "after" substring. </description> <name>replace</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String replace(java.lang.String, java.lang.String, java.lang.String)</function-signature> <example> ${fn:replace(text, "-", "?")} </example> </function> <function> <description> Splits a string into an array of substrings. </description> <name>split</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String[] split(java.lang.String, java.lang.String)</function-signature> <example> ${fn:split(customerNames, ";")} </example> </function> <function> <description> Tests if an input string starts with the specified prefix. </description> <name>startsWith</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>boolean startsWith(java.lang.String, java.lang.String)</function-signature> <example> <c:if test="${fn:startsWith(product.id, "100-")}"> </example> </function> <function> <description> Returns a subset of a string. </description> <name>substring</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String substring(java.lang.String, int, int)</function-signature> <example> P.O. Box: ${fn:substring(zip, 6, -1)} </example> </function> <function> <description> Returns a subset of a string following a specific substring. </description> <name>substringAfter</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String substringAfter(java.lang.String, java.lang.String)</function-signature> <example> P.O. Box: ${fn:substringAfter(zip, "-")} </example> </function> <function> <description> Returns a subset of a string before a specific substring. </description> <name>substringBefore</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String substringBefore(java.lang.String, java.lang.String)</function-signature> <example> Zip (without P.O. Box): ${fn:substringBefore(zip, "-")} </example> </function> <function> <description> Converts all of the characters of a string to lower case. </description> <name>toLowerCase</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String toLowerCase(java.lang.String)</function-signature> <example> Product name: ${fn.toLowerCase(product.name)} </example> </function> <function> <description> Converts all of the characters of a string to upper case. </description> <name>toUpperCase</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String toUpperCase(java.lang.String)</function-signature> <example> Product name: ${fn.UpperCase(product.name)} </example> </function> <function> <description> Removes white spaces from both ends of a string. </description> <name>trim</name> <function-class>org.apache.taglibs.standard.functions.Functions</function-class> <function-signature>java.lang.String trim(java.lang.String)</function-signature> <example> Name: ${fn.trim(name)} </example> </function> </taglib>
标签:1.0 version library sch nat under boolean .net section
原文地址:http://www.cnblogs.com/jizuiku/p/7989684.html