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

org.jboss.shrinkwrap.descriptor.api.webapp25.ErrorPageType Maven / Gradle / Ivy

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

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.webapp.*;
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy