public class DisCountryCodesValidator extends Validator
| Constructor and Description |
|---|
DisCountryCodesValidator(Document doc)
Initialize this validator with the contents of an XML Document.
|
| Modifier and Type | Method and Description |
|---|---|
String |
countryNameForCode(Integer code) |
boolean |
isValidCountryCode(Integer code) |
boolean |
isValidCountryName(String name) |
compileAndEvaluatepublic DisCountryCodesValidator(Document doc)
doc - XML Document from DIS_Country_codes.xmlCopyright © 2023 Open Geospatial Consortium. All rights reserved.