public class WarningsContainer extends Object implements IWarningsContainer
Constructor and Description |
---|
WarningsContainer() |
Modifier and Type | Method and Description |
---|---|
boolean |
areWarnings()
This method return true if there aren't warnings else returns false
|
BaseException |
getElement(int index,
ListBaseException war)
This method returns a warning from the list
|
ListBaseException |
getWarningList()
This method return the list of warnings parsing the file
|
void |
setElement(BaseException war)
This method inserts a new warning into the list
|
void |
setWarningList(ListBaseException war)
This method inserts a new warning list
|
public boolean areWarnings()
IWarningsContainer
areWarnings
in interface IWarningsContainer
public ListBaseException getWarningList()
IWarningsContainer
getWarningList
in interface IWarningsContainer
public void setElement(BaseException war)
IWarningsContainer
setElement
in interface IWarningsContainer
public BaseException getElement(int index, ListBaseException war)
IWarningsContainer
getElement
in interface IWarningsContainer
public void setWarningList(ListBaseException war)
IWarningsContainer
setWarningList
in interface IWarningsContainer