Spring Web Services Framework

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.
 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

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

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.