Class SchematronSchemaReaderFactory
java.lang.Object
com.thaiopensource.validate.schematron.SchematronSchemaReaderFactory
- All Implemented Interfaces:
SchemaReaderFactory
,TransformerFactoryInitializer
- Direct Known Subclasses:
NewSaxonSchemaReaderFactory
,XalanSchemaReaderFactory
public class SchematronSchemaReaderFactory
extends Object
implements SchemaReaderFactory, TransformerFactoryInitializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSchemaReader
(String namespaceUri) Creates a SchemaReader for a particular schema language.void
initTransformerFactory
(TransformerFactory factory)
-
Constructor Details
-
SchematronSchemaReaderFactory
public SchematronSchemaReaderFactory()
-
-
Method Details
-
createSchemaReader
Description copied from interface:SchemaReaderFactory
Creates a SchemaReader for a particular schema language.- Specified by:
createSchemaReader
in interfaceSchemaReaderFactory
- Parameters:
namespaceUri
- a String identifing the schema language; must not benull
; for schema languages that use XML, this should be the namespace URI of the root element if the root element has a non-absent namespace URI- Returns:
- a SchemaReader for the specified schema language, or
null
, if this SchemaReaderFactory cannot create a SchemaReader for the specified schema language
-
getOption
- Specified by:
getOption
in interfaceSchemaReaderFactory
-
newTransformerFactory
-
initTransformerFactory
- Specified by:
initTransformerFactory
in interfaceTransformerFactoryInitializer
-