public class AttributesXml extends Object
| Modifier and Type | Field and Description |
|---|---|
protected File |
xmlFile |
protected File |
xsdFile |
| Constructor and Description |
|---|
AttributesXml(String path,
String filename,
String schemaXPath) |
| Modifier and Type | Method and Description |
|---|---|
String |
getXmlFileName() |
Path |
getXmlFilePath() |
String |
getXsdFileName() |
Path |
getXsdFilePath() |
protected void |
loadRemoteSchema(String schemaLocation)
For this instance, download the schema from schemaLocation and set it
as the schema file.
|
String |
schemaValidationErrors() |
boolean |
xmlFileExists() |
boolean |
xsdFileExists() |
protected void loadRemoteSchema(String schemaLocation)
schemaLocation - HTTP/HTTPS URI pointing to schemapublic String getXmlFileName()
public Path getXmlFilePath()
public String getXsdFileName()
public Path getXsdFilePath()
public boolean xmlFileExists()
public boolean xsdFileExists()
public String schemaValidationErrors() throws SAXException, IOException
SAXExceptionIOExceptionCopyright © 2023 Open Geospatial Consortium. All rights reserved.