com.consol.citrus.xml.schema
Class MultiResourceXsdSchema
java.lang.Object
org.springframework.xml.xsd.SimpleXsdSchema
com.consol.citrus.xml.schema.MultiResourceXsdSchema
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.xml.xsd.XsdSchema
public class MultiResourceXsdSchema
- extends org.springframework.xml.xsd.SimpleXsdSchema
- implements org.springframework.beans.factory.InitializingBean
Schema combines multiple file resources usually with exactly the same target namespace to
one single schema instance.
- Author:
- Christoph Deppisch
| Methods inherited from class org.springframework.xml.xsd.SimpleXsdSchema |
getSource, getTargetNamespace, setXsd, toString |
W3C_XML_SCHEMA_NS_URI
public static final String W3C_XML_SCHEMA_NS_URI
- See Also:
- Constant Field Values
MultiResourceXsdSchema
public MultiResourceXsdSchema()
createValidator
public org.springframework.xml.validation.XmlValidator createValidator()
throws IOException
- Specified by:
createValidator in interface org.springframework.xml.xsd.XsdSchema- Overrides:
createValidator in class org.springframework.xml.xsd.SimpleXsdSchema
- Throws:
IOException
afterPropertiesSet
public void afterPropertiesSet()
throws ParserConfigurationException,
IOException,
SAXException
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSet in class org.springframework.xml.xsd.SimpleXsdSchema
- Throws:
ParserConfigurationException
IOException
SAXException
setSchemas
public void setSchemas(org.springframework.core.io.Resource[] schemas)
- Parameters:
schemas - the schema resources to set
Copyright © 2008-2013 ConSol* Consulting&Solutions GmbH. All Rights Reserved.