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