Class DefinitionLoader

    • Method Detail

      • load

        public RecordDefinition load​(File file)
        Parses the input .xsd and creates as many RecordDefinitions as needed
        Parameters:
        file - the XML Schema file with the file definition
        Returns:
        the loaded record definition
      • load

        public RecordDefinition load​(Reader reader)
        Parses the input .xsd and creates as many RecordDefinitions as needed
        Parameters:
        reader - a reader that reads the XML Schema file with the file definition
        Returns:
        the loaded record definition
      • load

        public RecordDefinition load​(InputSource input)
        Parses the input .xsd and creates as many RecordDefinitions as needed
        Parameters:
        input - an InputSource that reads the XML Schema file with the file definition
        Returns:
        the loaded record definition