public class SchemaReaderFactory
extends java.lang.Object
Constructor and Description |
---|
SchemaReaderFactory() |
Modifier and Type | Method and Description |
---|---|
static com.softwareag.ext.castor.xml.schema.reader.SchemaReader |
createInstance(java.io.File file)
Create a SchemaReader instance for specified URL.
|
static com.softwareag.ext.castor.xml.schema.reader.SchemaReader |
createInstance(java.io.InputStream inputStream,
java.lang.String fileName)
Create a SchemaReader instance for specified InputStream and filename
|
public static com.softwareag.ext.castor.xml.schema.reader.SchemaReader createInstance(java.io.File file) throws java.io.IOException
file
- File containing schemajava.io.IOException
- if reading input source failspublic static com.softwareag.ext.castor.xml.schema.reader.SchemaReader createInstance(java.io.InputStream inputStream, java.lang.String fileName) throws java.io.IOException
inputStream
- fileName
- java.io.IOException
- if reading input source fails