org.jboss.shrinkwrap.descriptor.api.facesconfig20.FacesConfigLifecycleType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.facesconfig20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.*;
import org.jboss.shrinkwrap.descriptor.api.facesconfig.JavaeeFacesConfigLifecycleCommonType;
/**
* This interface defines the contract for the faces-config-lifecycleType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface FacesConfigLifecycleType extends Child,
JavaeeFacesConfigLifecycleCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigLifecycleType ElementName: xsd:token ElementType : phase-listener
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing phase-listener
elements,
* a new phase-listener
element
* @param values list of phase-listener
objects
* @return the current instance of FacesConfigLifecycleType
*/
public FacesConfigLifecycleType phaseListener(String ... values);
/**
* Returns all phase-listener
elements
* @return list of phase-listener
*/
public List getAllPhaseListener();
/**
* Removes the phase-listener
element
* @return the current instance of FacesConfigLifecycleType
*/
public FacesConfigLifecycleType removeAllPhaseListener();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigLifecycleType ElementName: javaee:faces-config-lifecycle-extensionType ElementType : lifecycle-extension
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the lifecycle-extension
element
* @return the current instance of FacesConfigLifecycleType
*/
public FacesConfigLifecycleType lifecycleExtension();
/**
* Removes the lifecycle-extension
element
* @return the current instance of FacesConfigLifecycleType
*/
public Boolean isLifecycleExtension();
/**
* Removes the lifecycle-extension
element
* @return the current instance of FacesConfigLifecycleType
*/
public FacesConfigLifecycleType removeLifecycleExtension();
// --------------------------------------------------------------------------------------------------------||
// ClassName: FacesConfigLifecycleType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of FacesConfigLifecycleType
*/
public FacesConfigLifecycleType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of FacesConfigLifecycleType
*/
public FacesConfigLifecycleType removeId();
}