Class W3CMultiSchemaFactory
java.lang.Object
org.apache.cxf.staxutils.validation.W3CMultiSchemaFactory
Legacy implementation for Woostox 5.x. For Woodstox 6.2+, use W3CMultiSchemaFactory in
Woodstox itself.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.stax2.validation.XMLValidationSchema
createSchema
(String baseURI, Map<String, Source> schemaSources) Creates an XMLValidateSchema that can be used to validate XML instances against any of the schemas defined in the Map of schemaSources.
-
Constructor Details
-
W3CMultiSchemaFactory
- Throws:
NoSuchMethodException
-
-
Method Details
-
createSchema
public org.codehaus.stax2.validation.XMLValidationSchema createSchema(String baseURI, Map<String, Source> schemaSources) throws XMLStreamExceptionCreates an XMLValidateSchema that can be used to validate XML instances against any of the schemas defined in the Map of schemaSources. Map of schemas is namespace -> Source- Throws:
XMLStreamException
-