All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jsftoolkit.utils.serial.XmlCollection Maven / Gradle / Ivy

Go to download

The core classes for the JSF Toolkit Component Framework. Includes all framework base and utility classes as well as component kick-start/code-generation and registration tools. Also includes some classes for testing that are reused in other projects. They cannot be factored out into a separate project because they are referenced by the tests and they reference this code (circular dependence).

The newest version!
package com.jsftoolkit.utils.serial;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.Collection;
import java.util.Map;

/**
 * Annotation for marking the getter of properties that are {@link Collection}s
 * or {@link Map}. A Map marked with this annotation will have only its values
 * serialized.
 * 
 * @author noah
 * 
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface XmlCollection {
	/**
	 * 
	 * @return the name of the tag that should enclose the serialized form of
	 *         each item in the collection, or "" if it should be added
	 *         directly.
	 */
	String itemTag() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy