org.jboss.shrinkwrap.descriptor.api.webcommon30.ErrorPageType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.webcommon30;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.webcommon.*;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
import org.jboss.shrinkwrap.descriptor.api.jsp.*;
import org.jboss.shrinkwrap.descriptor.api.webapp.JavaeeErrorPageCommonType;
/**
* This interface defines the contract for the error-pageType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface ErrorPageType extends Child,
JavaeeErrorPageCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ErrorPageType ElementName: javaee:xsdPositiveIntegerType ElementType : error-code
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the error-code
element
* @param errorCode the value for the element error-code
* @return the current instance of ErrorPageType
*/
public ErrorPageType errorCode(String errorCode);
/**
* Returns the error-code
element
* @return the node defined for the element error-code
*/
public String getErrorCode();
/**
* Removes the error-code
element
* @return the current instance of ErrorPageType
*/
public ErrorPageType removeErrorCode();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ErrorPageType ElementName: xsd:token ElementType : exception-type
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the exception-type
element
* @param exceptionType the value for the element exception-type
* @return the current instance of ErrorPageType
*/
public ErrorPageType exceptionType(String exceptionType);
/**
* Returns the exception-type
element
* @return the node defined for the element exception-type
*/
public String getExceptionType();
/**
* Removes the exception-type
element
* @return the current instance of ErrorPageType
*/
public ErrorPageType removeExceptionType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ErrorPageType ElementName: javaee:string ElementType : location
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the location
element
* @param location the value for the element location
* @return the current instance of ErrorPageType
*/
public ErrorPageType location(String location);
/**
* Returns the location
element
* @return the node defined for the element location
*/
public String getLocation();
/**
* Removes the location
element
* @return the current instance of ErrorPageType
*/
public ErrorPageType removeLocation();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ErrorPageType 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 ErrorPageType
*/
public ErrorPageType 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 ErrorPageType
*/
public ErrorPageType removeId();
}