Class AttributesXml
java.lang.Object
org.opengis.cite.cdb10.util.metadataXml.AttributesXml
- Direct Known Subclasses:
GeomaticsAttributesXml
,VendorAttributesXml
Provides validation methods compatible with Geomatics Attributes and Vendor Attributes
metadata files. See GeomaticsAttributesXml and VendorAttributesXml for more
information.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttributesXml
(String path, String filename, String schemaXPath) Constructor for AttributesXml. -
Method Summary
Modifier and TypeMethodDescriptiongetXmlFileName.getXmlFilePath.getXsdFileName.getXsdFilePath.protected void
loadRemoteSchema
(String schemaLocation) For this instance, download the schema from schemaLocation and set it as the schema file.schemaValidationErrors.boolean
xmlFileExists.boolean
xsdFileExists.
-
Field Details
-
xmlFile
xmlFile -
xsdFile
xsdFile
-
-
Constructor Details
-
Method Details
-
loadRemoteSchema
For this instance, download the schema from schemaLocation and set it as the schema file.- Parameters:
schemaLocation
- HTTP/HTTPS URI pointing to schema
-
getXmlFileName
getXmlFileName.
- Returns:
- a
String
object
-
getXmlFilePath
getXmlFilePath.
- Returns:
- a
Path
object
-
getXsdFileName
getXsdFileName.
- Returns:
- a
String
object
-
getXsdFilePath
getXsdFilePath.
- Returns:
- a
Path
object
-
xmlFileExists
public boolean xmlFileExists()xmlFileExists.
- Returns:
- a boolean
-
xsdFileExists
public boolean xsdFileExists()xsdFileExists.
- Returns:
- a boolean
-
schemaValidationErrors
schemaValidationErrors.
- Returns:
- a
String
object - Throws:
SAXException
- if any.IOException
- if any.
-