- java.lang.Object
-
- org.fissore.jrecordbind.DefinitionLoader
-
public class DefinitionLoader extends Object
Reads the record definition and creates as manyRecordDefinitions as needed
-
-
Constructor Summary
Constructors Constructor Description DefinitionLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordDefinitionload(File file)Parses the input .xsd and creates as manyRecordDefinitions as neededRecordDefinitionload(Reader reader)Parses the input .xsd and creates as manyRecordDefinitions as neededRecordDefinitionload(InputSource input)Parses the input .xsd and creates as manyRecordDefinitions as needed
-
-
-
Constructor Detail
-
DefinitionLoader
public DefinitionLoader()
-
-
Method Detail
-
load
public RecordDefinition load(File file)
Parses the input .xsd and creates as manyRecordDefinitions 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 manyRecordDefinitions 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 manyRecordDefinitions as needed- Parameters:
input- an InputSource that reads the XML Schema file with the file definition- Returns:
- the loaded record definition
-
-