Package org.springframework.xml.xsd
Interface XsdSchema
- All Known Implementing Classes:
CommonsXsdSchema
,SimpleXsdSchema
public interface XsdSchema
Represents an abstraction for XSD schemas.
- Since:
- 1.5.0
- Author:
- Mark LaFond, Arjen Poutsma
-
Method Summary
Modifier and TypeMethodDescriptionCreates aXmlValidator
based on the schema.Returns theSource
of the schema.Returns the target namespace of this schema.
-
Method Details
-
getTargetNamespace
String getTargetNamespace()Returns the target namespace of this schema.- Returns:
- the target namespace
-
getSource
Source getSource()Returns theSource
of the schema.- Returns:
- the source of this XSD schema
-
createValidator
XmlValidator createValidator()Creates aXmlValidator
based on the schema.- Returns:
- a validator for this schema
-