Interface XsdSchema
- All Known Implementing Classes:
CommonsXsdSchema, SimpleXsdSchema
public interface XsdSchema
Represents an abstraction for XSD schemas.
- Since:
- 1.5.0
-
Method Summary
Modifier and TypeMethodDescriptionCreates aXmlValidatorbased on the schema.default @Nullable StringgetName()Return the name of the schema, if known.Returns theSourceof the schema.Returns the target namespace of this schema.
-
Method Details
-
getName
-
getTargetNamespace
String getTargetNamespace()Returns the target namespace of this schema.- Returns:
- the target namespace
-
getSource
-
createValidator
XmlValidator createValidator()Creates aXmlValidatorbased on the schema.- Returns:
- a validator for this schema
-