Package org.gvsig.gpe.prov.gml.warnings
Class GmlWarningInfo
java.lang.Object
org.gvsig.gpe.prov.gml.warnings.GmlWarningInfo
Class invalid input: '<' GMLFileParseInfo > *
*
This Class gets all the warnings from the GML Parser, the GML parser *
always tries parse the GML file even though it isn't a standard but *
it has to info the user. *
*
- Author:
- Carlos Sánchez Periñán (sanchez_carper@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 GMLvoidsetElement(org.gvsig.tools.exception.BaseException war) This method inserts a new warning into the listvoidsetGMLWarningList(org.gvsig.tools.exception.ListBaseException war) This method inserts a new warning list
-
Constructor Details
-
GmlWarningInfo
public GmlWarningInfo()
-
-
Method Details
-
areWarnings
public boolean areWarnings()This method return true if there aren't warnings else returns false- Returns:
- boolean
-
getGMLWarningList
public org.gvsig.tools.exception.ListBaseException getGMLWarningList()This method return the list of warnings parsing the GML- Returns:
- ArrayList of warnings
-
setElement
public void setElement(org.gvsig.tools.exception.BaseException war) This method inserts a new warning into the list -
getElement
public org.gvsig.tools.exception.BaseException getElement(int index, org.gvsig.tools.exception.ListBaseException war) This method returns a warning from the list- Returns:
- int warning
-
setGMLWarningList
public void setGMLWarningList(org.gvsig.tools.exception.ListBaseException war) This method inserts a new warning list
-