Class MetadataXmlFile

java.lang.Object
org.opengis.cite.cdb10.util.metadataXml.MetadataXmlFile
Direct Known Subclasses:
CDBAttributesXml, ConfigurationXml, DefaultsXml, LightsXml, MaterialsXml, ModelComponentsXml, VersionXml

public abstract class MetadataXmlFile extends Object
Created by martin on 2016-09-20.
  • Field Details

    • xmlFile

      protected File xmlFile
    • xsdFile

      protected File xsdFile
  • Constructor Details

    • MetadataXmlFile

      public MetadataXmlFile(String path, String xmlFileName, String xsdFileName)

      Constructor for MetadataXmlFile.

      Parameters:
      path - a String object
      xmlFileName - a String object
      xsdFileName - a String object
  • Method Details

    • getXmlFileName

      public String getXmlFileName()

      getXmlFileName.

      Returns:
      a String object
    • getXmlFilePath

      public Path getXmlFilePath()

      getXmlFilePath.

      Returns:
      a Path object
    • getXsdFileName

      public String getXsdFileName()

      getXsdFileName.

      Returns:
      a String object
    • getXsdFilePath

      public Path getXsdFilePath()

      getXsdFilePath.

      Returns:
      a Path object
    • xmlFileExists

      public boolean xmlFileExists()

      xmlFileExists.

      Returns:
      a boolean
    • xsdFileExists

      public boolean xsdFileExists()

      xsdFileExists.

      Returns:
      a boolean
    • schemaValidationErrors

      public String schemaValidationErrors() throws SAXException, IOException

      schemaValidationErrors.

      Returns:
      a String object
      Throws:
      SAXException - if any.
      IOException - if any.