|
Spring Framework example source code file (spring-util-2.5.xsd)
The Spring Framework spring-util-2.5.xsd source code<?xml version="1.0" encoding="UTF-8" standalone="no"?> <xsd:schema xmlns="http://www.springframework.org/schema/util" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:tool="http://www.springframework.org/schema/tool" targetNamespace="http://www.springframework.org/schema/util" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xsd:import namespace="http://www.springframework.org/schema/beans"/> <xsd:import namespace="http://www.springframework.org/schema/tool"/> <xsd:element name="constant"> <xsd:annotation> <xsd:documentation> Reference a public, static field on a type and expose its value as a bean. For example <code><util:constant static-field="java.lang.Integer.MAX_VALUE"/>. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:attribute name="id" type="xsd:ID"/> <xsd:attribute name="static-field" type="xsd:string" use="required"/> </xsd:complexType> </xsd:element> <xsd:element name="property-path"> <xsd:annotation> <xsd:documentation> Reference a property on a bean (or as a nested value) and expose its values as a bean. For example <util:property-path path="order.customer.name"/>. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:attribute name="id" type="xsd:ID"/> <xsd:attribute name="path" type="xsd:string" use="required"/> </xsd:complexType> </xsd:element> <xsd:element name="list"> <xsd:complexType> <xsd:complexContent> <xsd:extension base="beans:listOrSetType"> <xsd:annotation> <xsd:documentation source="java:org.springframework.beans.factory.config.ListFactoryBean"> Builds a List instance of the specified type, populated with the specified content. </xsd:documentation> <xsd:appinfo> <tool:annotation> <tool:exports type="java.util.List"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> <xsd:attribute name="id" type="xsd:ID"/> <xsd:attribute name="list-class" type="xsd:string"> <xsd:annotation> <xsd:appinfo> <tool:annotation> <tool:expected-type type="java.lang.Class"/> <tool:assignable-to type="java.util.List"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> </xsd:attribute> <xsd:attribute name="scope" type="xsd:string"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> <xsd:element name="set"> <xsd:complexType> <xsd:complexContent> <xsd:extension base="beans:listOrSetType"> <xsd:annotation> <xsd:documentation source="java:org.springframework.beans.factory.config.SetFactoryBean"> Builds a Set instance of the specified type, populated with the specified content. </xsd:documentation> <xsd:appinfo> <tool:annotation> <tool:exports type="java.util.Set"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> <xsd:attribute name="id" type="xsd:ID"/> <xsd:attribute name="set-class" type="xsd:string"> <xsd:annotation> <xsd:appinfo> <tool:annotation> <tool:expected-type type="java.lang.Class"/> <tool:assignable-to type="java.util.Set"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> </xsd:attribute> <xsd:attribute name="scope" type="xsd:string"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> <xsd:element name="map"> <xsd:complexType> <xsd:complexContent> <xsd:extension base="beans:mapType"> <xsd:annotation> <xsd:documentation source="java:org.springframework.beans.factory.config.MapFactoryBean"> Builds a Map instance of the specified type, populated with the specified content. </xsd:documentation> <xsd:appinfo> <tool:annotation> <tool:exports type="java.util.Map"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> <xsd:attribute name="id" type="xsd:ID"/> <xsd:attribute name="map-class" type="xsd:string"> <xsd:annotation> <xsd:appinfo> <tool:annotation> <tool:expected-type type="java.lang.Class"/> <tool:assignable-to type="java.util.Map"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> </xsd:attribute> <xsd:attribute name="scope" type="xsd:string"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> <xsd:element name="properties"> <xsd:annotation> <xsd:documentation source="java:org.springframework.beans.factory.config.PropertiesFactoryBean"> Loads a Properties instance from the resource location specified by the '<code>location' attribute. </xsd:documentation> <xsd:appinfo> <tool:annotation> <tool:exports type="java.util.Properties"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="beans:propsType"> <xsd:attribute name="id" type="xsd:ID"/> <xsd:attribute name="location" type="xsd:string"> <xsd:annotation> <xsd:appinfo> <tool:annotation> <tool:expected-type type="org.springframework.core.io.Resource"/> </tool:annotation> </xsd:appinfo> </xsd:annotation> </xsd:attribute> <xsd:attribute name="local-override" type="xsd:boolean"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="scope" type="xsd:string"> <xsd:annotation> <xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> </xsd:schema> Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework spring-util-2.5.xsd source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.