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

org.jboss.shrinkwrap.descriptor.api.facespartialresponse20.WebFacesPartialResponseDescriptor Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.facespartialresponse20; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse20.PartialResponseChangesType;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse20.PartialResponseRedirectType;
import org.jboss.shrinkwrap.descriptor.api.facespartialresponse20.PartialResponseErrorType;
import org.jboss.shrinkwrap.descriptor.api.Descriptor;
import org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace;

import org.jboss.shrinkwrap.descriptor.api.facespartialresponse.*;
/** 
 * 

* This deployment descriptor provides the functionalities as described in the specification *

* Example: *

* * WebFacesPartialResponseDescriptor descriptor = Descriptors.create(WebFacesPartialResponseDescriptor.class); * * * * @author Ralf Battenfeld * @author Andrew Lee Rubinger * @author George Gastaldi */ public interface WebFacesPartialResponseDescriptor extends Descriptor, DescriptorNamespace, WebFacesPartialResponseCommonDescriptor, PartialResponseRedirectType, PartialResponseErrorType> { // --------------------------------------------------------------------------------------------------------|| // ClassName: WebFacesPartialResponseDescriptor ElementName: javaee:partial-response-changesType ElementType : changes // MaxOccurs: -1 isGeneric: false isAttribute: false isEnum: false isDataType: false // --------------------------------------------------------------------------------------------------------|| /** * If not already created, a new changes element with the given value will be created. * Otherwise, the existing changes element will be returned. * @return a new or existing instance of PartialResponseChangesType */ public PartialResponseChangesType getOrCreateChanges(); /** * Removes the changes element * @return the current instance of WebFacesPartialResponseDescriptor */ public WebFacesPartialResponseDescriptor removeChanges(); // --------------------------------------------------------------------------------------------------------|| // ClassName: WebFacesPartialResponseDescriptor ElementName: javaee:partial-response-redirectType ElementType : redirect // MaxOccurs: -1 isGeneric: false isAttribute: false isEnum: false isDataType: false // --------------------------------------------------------------------------------------------------------|| /** * If not already created, a new redirect element with the given value will be created. * Otherwise, the existing redirect element will be returned. * @return a new or existing instance of PartialResponseRedirectType */ public PartialResponseRedirectType getOrCreateRedirect(); /** * Removes the redirect element * @return the current instance of WebFacesPartialResponseDescriptor */ public WebFacesPartialResponseDescriptor removeRedirect(); // --------------------------------------------------------------------------------------------------------|| // ClassName: WebFacesPartialResponseDescriptor ElementName: javaee:partial-response-errorType ElementType : error // MaxOccurs: -1 isGeneric: false isAttribute: false isEnum: false isDataType: false // --------------------------------------------------------------------------------------------------------|| /** * If not already created, a new error element with the given value will be created. * Otherwise, the existing error element will be returned. * @return a new or existing instance of PartialResponseErrorType */ public PartialResponseErrorType getOrCreateError(); /** * Removes the error element * @return the current instance of WebFacesPartialResponseDescriptor */ public WebFacesPartialResponseDescriptor removeError(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy