|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlValidator
Simple processor that validates a given Source
. Can be created via the XmlValidatorFactory
.
XmlValidatorFactory.createValidator(org.springframework.core.io.Resource,String)
Method Summary | |
---|---|
SAXParseException[] |
validate(Source source)
Validates the given Source , and returns an array of SAXParseException s as result. |
Method Detail |
---|
SAXParseException[] validate(Source source) throws IOException
Source
, and returns an array of SAXParseException
s as result. The array will
be empty if no validation errors are found.
source
- the input document
SAXParseException
s
IOException
- if the source
cannot be read
XmlValidationException
- if the source
cannot be validated
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |