Class WarningsContainer

java.lang.Object
org.gvsig.gpe.prov.kml.warnings.WarningsContainer
All Implemented Interfaces:
IWarningsContainer

public class WarningsContainer extends Object implements IWarningsContainer
Author:
Jorge Piera LlodrĂ¡ (piera_jor@gva.es)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    This method return true if there aren't warnings else returns false
    org.gvsig.tools.exception.BaseException
    getElement(int index, org.gvsig.tools.exception.ListBaseException war)
    This method returns a warning from the list
    org.gvsig.tools.exception.ListBaseException
    This method return the list of warnings parsing the file
    void
    setElement(org.gvsig.tools.exception.BaseException war)
    This method inserts a new warning into the list
    void
    setWarningList(org.gvsig.tools.exception.ListBaseException war)
    This method inserts a new warning list

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WarningsContainer

      public WarningsContainer()
  • Method Details

    • areWarnings

      public boolean areWarnings()
      Description copied from interface: IWarningsContainer
      This method return true if there aren't warnings else returns false
      Specified by:
      areWarnings in interface IWarningsContainer
      Returns:
      boolean
    • getWarningList

      public org.gvsig.tools.exception.ListBaseException getWarningList()
      Description copied from interface: IWarningsContainer
      This method return the list of warnings parsing the file
      Specified by:
      getWarningList in interface IWarningsContainer
      Returns:
      ArrayList of warnings
    • setElement

      public void setElement(org.gvsig.tools.exception.BaseException war)
      Description copied from interface: IWarningsContainer
      This method inserts a new warning into the list
      Specified by:
      setElement in interface IWarningsContainer
    • getElement

      public org.gvsig.tools.exception.BaseException getElement(int index, org.gvsig.tools.exception.ListBaseException war)
      Description copied from interface: IWarningsContainer
      This method returns a warning from the list
      Specified by:
      getElement in interface IWarningsContainer
      Returns:
      int warning
    • setWarningList

      public void setWarningList(org.gvsig.tools.exception.ListBaseException war)
      Description copied from interface: IWarningsContainer
      This method inserts a new warning list
      Specified by:
      setWarningList in interface IWarningsContainer