⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 web-app_2_5.xsd

📁 梅花雪树的经典制作
💻 XSD
📖 第 1 页 / 共 3 页
字号:
                code or exception type to the path of a resource in the                web application. Used in: web-app            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:choice>                <xsd:element name="error-code"                    type="javaee:error-codeType" />                <xsd:element name="exception-type"                    type="javaee:fully-qualified-classType">                    <xsd:annotation>                        <xsd:documentation>                            The exception-type contains a fully                            qualified class name of a Java exception                            type.                        </xsd:documentation>                    </xsd:annotation>                </xsd:element>            </xsd:choice>            <xsd:element name="location" type="javaee:war-pathType">                <xsd:annotation>                    <xsd:documentation>                        The location element contains the location of                        the resource in the web application relative to                        the root of the web application. The value of                        the location must have a leading `/'.                    </xsd:documentation>                </xsd:annotation>            </xsd:element>        </xsd:sequence>        <xsd:attribute name="id" type="xsd:ID" />    </xsd:complexType>    <!-- **************************************************** -->    <xsd:complexType name="filter-mappingType">        <xsd:annotation>            <xsd:documentation>                Declaration of the filter mappings in this web                application is done by using filter-mappingType. The                container uses the filter-mapping declarations to decide                which filters to apply to a request, and in what order.                The container matches the request URI to a Servlet in                the normal way. To determine which filters to apply it                matches filter-mapping declarations either on                servlet-name, or on url-pattern for each filter-mapping                element, depending on which style is used. The order in                which filters are invoked is the order in which                filter-mapping declarations that match a request URI for                a servlet appear in the list of filter-mapping                elements.The filter-name value must be the value of the                filter-name sub-elements of one of the filter                declarations in the deployment descriptor.            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:element name="filter-name"                type="javaee:filter-nameType" />            <xsd:choice minOccurs="1" maxOccurs="unbounded">                <xsd:element name="url-pattern"                    type="javaee:url-patternType" />                <xsd:element name="servlet-name"                    type="javaee:servlet-nameType" />            </xsd:choice>            <xsd:element name="dispatcher" type="javaee:dispatcherType"                minOccurs="0" maxOccurs="4" />        </xsd:sequence>        <xsd:attribute name="id" type="xsd:ID" />    </xsd:complexType>    <!-- **************************************************** -->    <xsd:complexType name="filter-nameType">        <xsd:annotation>            <xsd:documentation>                The logical name of the filter is declare by using                filter-nameType. This name is used to map the filter.                Each filter name is unique within the web application.                Used in: filter, filter-mapping            </xsd:documentation>        </xsd:annotation>        <xsd:simpleContent>            <xsd:extension base="javaee:nonEmptyStringType" />        </xsd:simpleContent>    </xsd:complexType>    <!-- **************************************************** -->    <xsd:complexType name="filterType">        <xsd:annotation>            <xsd:documentation>                The filterType is used to declare a filter in the web                application. The filter is mapped to either a servlet or                a URL pattern in the filter-mapping element, using the                filter-name value to reference. Filters can access the                initialization parameters declared in the deployment                descriptor at runtime via the FilterConfig interface.                Used in: web-app            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:group ref="javaee:descriptionGroup" />            <xsd:element name="filter-name"                type="javaee:filter-nameType" />            <xsd:element name="filter-class"                type="javaee:fully-qualified-classType">                <xsd:annotation>                    <xsd:documentation>                        The fully qualified classname of the filter.                    </xsd:documentation>                </xsd:annotation>            </xsd:element>            <xsd:element name="init-param" type="javaee:param-valueType"                minOccurs="0" maxOccurs="unbounded">                <xsd:annotation>                    <xsd:documentation>                        The init-param element contains a name/value                        pair as an initialization param of a servlet                        filter                    </xsd:documentation>                </xsd:annotation>            </xsd:element>        </xsd:sequence>        <xsd:attribute name="id" type="xsd:ID" />    </xsd:complexType>    <!-- **************************************************** -->    <xsd:complexType name="form-login-configType">        <xsd:annotation>            <xsd:documentation>                The form-login-configType specifies the login and error                pages that should be used in form based login. If form                based authentication is not used, these elements are                ignored. Used in: login-config            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:element name="form-login-page"                type="javaee:war-pathType">                <xsd:annotation>                    <xsd:documentation>                        The form-login-page element defines the location                        in the web app where the page that can be used                        for login can be found. The path begins with a                        leading / and is interpreted relative to the                        root of the WAR.                    </xsd:documentation>                </xsd:annotation>            </xsd:element>            <xsd:element name="form-error-page"                type="javaee:war-pathType">                <xsd:annotation>                    <xsd:documentation>                        The form-error-page element defines the location                        in the web app where the error page that is                        displayed when login is not successful can be                        found. The path begins with a leading / and is                        interpreted relative to the root of the WAR.                    </xsd:documentation>                </xsd:annotation>            </xsd:element>        </xsd:sequence>        <xsd:attribute name="id" type="xsd:ID" />    </xsd:complexType>    <!-- **************************************************** -->    <xsd:simpleType name="http-methodType">        <xsd:annotation>            <xsd:documentation>                A HTTP method type as defined in HTTP 1.1 section 2.2.            </xsd:documentation>        </xsd:annotation>        <xsd:restriction base="xsd:token">            <xsd:pattern value="[\p{L}-[\p{Cc}\p{Z}]]+" />        </xsd:restriction>    </xsd:simpleType>    <!-- **************************************************** -->    <xsd:simpleType name="load-on-startupType">        <xsd:union memberTypes="javaee:null-charType xsd:integer" />    </xsd:simpleType>    <!-- **************************************************** -->    <xsd:complexType name="locale-encoding-mapping-listType">        <xsd:annotation>            <xsd:documentation>                The locale-encoding-mapping-list contains one or more                locale-encoding-mapping(s).            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:element name="locale-encoding-mapping"                type="javaee:locale-encoding-mappingType"                maxOccurs="unbounded" />        </xsd:sequence>        <xsd:attribute name="id" type="xsd:ID" />    </xsd:complexType>    <!-- **************************************************** -->    <xsd:complexType name="locale-encoding-mappingType">        <xsd:annotation>            <xsd:documentation>                The locale-encoding-mapping contains locale name and                encoding name. The locale name must be either                "Language-code", such as "ja", defined by ISO-639 or                "Language-code_Country-code", such as "ja_JP". "Country                code" is defined by ISO-3166.            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:element name="locale" type="javaee:localeType" />            <xsd:element name="encoding" type="javaee:encodingType" />        </xsd:sequence>        <xsd:attribute name="id" type="xsd:ID" />    </xsd:complexType>    <!-- **************************************************** -->    <xsd:simpleType name="localeType">        <xsd:annotation>            <xsd:documentation>                The localeType defines valid locale defined by ISO-639-1                and ISO-3166.            </xsd:documentation>        </xsd:annotation>        <xsd:restriction base="xsd:string">            <xsd:pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?" />        </xsd:restriction>    </xsd:simpleType>    <!-- **************************************************** -->    <xsd:complexType name="login-configType">        <xsd:annotation>            <xsd:documentation>                The login-configType is used to configure the                authentication method that should be used, the realm                name that should be used for this application, and the                attributes that are needed by the form login mechanism.                Used in: web-app            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:element name="auth-method"                type="javaee:auth-methodType" minOccurs="0" />            <xsd:element name="realm-name" type="javaee:string"                minOccurs="0">                <xsd:annotation>                    <xsd:documentation>                        The realm name element specifies the realm name                        to use in HTTP Basic authorization.                    </xsd:documentation>                </xsd:annotation>            </xsd:element>            <xsd:element name="form-login-config"                type="javaee:form-login-configType" minOccurs="0" />        </xsd:sequence>        <xsd:attribute name="id" type="xsd:ID" />    </xsd:complexType>    <!-- **************************************************** -->    <xsd:complexType name="mime-mappingType">        <xsd:annotation>            <xsd:documentation>                The mime-mappingType defines a mapping between an                extension and a mime type. Used in: web-app            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:annotation>                <xsd:documentation>                    The extension element contains a string describing                    an extension. example: "txt"                </xsd:documentation>            </xsd:annotation>            <xsd:element name="extension" type="javaee:string" />            <xsd:element name="mime-type" type="javaee:mime-typeType" />        </xsd:sequence>        <xsd:attribute name="id" type="xsd:ID" />    </xsd:complexType>    <!-- **************************************************** -->    <xsd:complexType name="mime-typeType">        <xsd:annotation>            <xsd:documentation>                The mime-typeType is used to indicate a defined mime                type. Example: "text/plain" Used in: mime-mapping            </xsd:documentation>        </xsd:annotation>        <xsd:simpleContent>            <xsd:restriction base="javaee:string">                <xsd:pattern value="[^\p{Cc}^\s]+/[^\p{Cc}^\s]+" />            </xsd:restriction>        </xsd:simpleContent>    </xsd:complexType>    <!-- **************************************************** -->    <xsd:complexType name="nonEmptyStringType">        <xsd:annotation>            <xsd:documentation>                This type defines a string which contains at least one                character.            </xsd:documentation>        </xsd:annotation>        <xsd:simpleContent>            <xsd:restriction base="javaee:string">                <xsd:minLength value="1" />            </xsd:restriction>        </xsd:simpleContent>    </xsd:complexType>    <!-- **************************************************** -->    <xsd:simpleType name="null-charType">        <xsd:restriction base="xsd:string">            <xsd:enumeration value="" />        </xsd:restriction>    </xsd:simpleType>    <!-- **************************************************** -->    <xsd:complexType name="security-constraintType">        <xsd:annotation>            <xsd:documentation>                The security-constraintType is used to associate                security constraints with one or more web resource                collections Used in: web-app            </xsd:documentation>        </xsd:annotation>        <xsd:sequence>            <xsd:element name="display-name"                type="javaee:display-nameType" minOccurs="0"                maxOccurs="unbounded" />            <xsd:element name="web-resource-collection"                type="javaee:web-resource-collectionType"                maxOccurs="unbounded" />            <xsd:element name="auth-constraint"                type="javaee:auth-constraintType" minOccurs="0" />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -