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
 XmlValidator createValidator()
          Creates a XmlValidator based on the schema.
 javax.xml.transform.Source getSource()
          Returns the Source of the schema.
 String getTargetNamespace()
          Returns the target namespace of this schema.
 

Method Detail

getTargetNamespace

String getTargetNamespace()
Returns the target namespace of this schema.

Returns:
the target namespace

getSource

javax.xml.transform.Source getSource()
Returns the Source of the schema.

Returns:
the source of this XSD schema

createValidator

XmlValidator createValidator()
                             throws IOException
Creates a XmlValidator based on the schema.

Returns:
a validator for this schema
Throws:
IOException - in case of I/O errors


Copyright © 2010. All Rights Reserved.