Package org.gvsig.gpe.prov.kml.warnings
Class WarningsContainer
java.lang.Object
org.gvsig.gpe.prov.kml.warnings.WarningsContainer
- All Implemented Interfaces:
IWarningsContainer
- Author:
- Jorge Piera LlodrĂ¡ (piera_jor@gva.es)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis method return true if there aren't warnings else returns falseorg.gvsig.tools.exception.BaseExceptiongetElement(int index, org.gvsig.tools.exception.ListBaseException war) This method returns a warning from the listorg.gvsig.tools.exception.ListBaseExceptionThis method return the list of warnings parsing the filevoidsetElement(org.gvsig.tools.exception.BaseException war) This method inserts a new warning into the listvoidsetWarningList(org.gvsig.tools.exception.ListBaseException war) This method inserts a new warning list
-
Constructor Details
-
WarningsContainer
public WarningsContainer()
-
-
Method Details
-
areWarnings
public boolean areWarnings()Description copied from interface:IWarningsContainerThis method return true if there aren't warnings else returns false- Specified by:
areWarningsin interfaceIWarningsContainer- Returns:
- boolean
-
getWarningList
public org.gvsig.tools.exception.ListBaseException getWarningList()Description copied from interface:IWarningsContainerThis method return the list of warnings parsing the file- Specified by:
getWarningListin interfaceIWarningsContainer- Returns:
- ArrayList of warnings
-
setElement
public void setElement(org.gvsig.tools.exception.BaseException war) Description copied from interface:IWarningsContainerThis method inserts a new warning into the list- Specified by:
setElementin interfaceIWarningsContainer
-
getElement
public org.gvsig.tools.exception.BaseException getElement(int index, org.gvsig.tools.exception.ListBaseException war) Description copied from interface:IWarningsContainerThis method returns a warning from the list- Specified by:
getElementin interfaceIWarningsContainer- Returns:
- int warning
-
setWarningList
public void setWarningList(org.gvsig.tools.exception.ListBaseException war) Description copied from interface:IWarningsContainerThis method inserts a new warning list- Specified by:
setWarningListin interfaceIWarningsContainer
-