public abstract class AbstractSchemaCollection
extends org.springframework.xml.xsd.SimpleXsdSchema
implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
importedSchemas
Imported schemas
|
protected List<org.springframework.core.io.Resource> |
schemaResources
List of schema resources
|
static String |
W3C_XML_SCHEMA_NS_URI |
static String |
WWW_W3_ORG_2000_XMLNS
Official xmlns namespace
|
| Constructor and Description |
|---|
AbstractSchemaCollection() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addImportedSchemas(javax.wsdl.extensions.schema.Schema schema)
Recursively add all imported schemas as schema resource.
|
protected void |
addIncludedSchemas(javax.wsdl.extensions.schema.Schema schema)
Recursively add all included schemas as schema resource.
|
void |
afterPropertiesSet() |
org.springframework.xml.validation.XmlValidator |
createValidator() |
List<org.springframework.core.io.Resource> |
getSchemaResources()
Gets the schema resources.
|
protected abstract org.springframework.core.io.Resource |
loadSchemaResources()
Loads all schema resource files from schema locations.
|
protected List<org.springframework.core.io.Resource> schemaResources
public static final String WWW_W3_ORG_2000_XMLNS
public static final String W3C_XML_SCHEMA_NS_URI
public org.springframework.xml.validation.XmlValidator createValidator()
createValidator in interface org.springframework.xml.xsd.XsdSchemacreateValidator in class org.springframework.xml.xsd.SimpleXsdSchemaprotected void addImportedSchemas(javax.wsdl.extensions.schema.Schema schema)
throws javax.wsdl.WSDLException,
IOException,
TransformerException,
TransformerFactoryConfigurationError
schema - javax.wsdl.WSDLExceptionIOExceptionTransformerExceptionTransformerFactoryConfigurationErrorprotected void addIncludedSchemas(javax.wsdl.extensions.schema.Schema schema)
throws javax.wsdl.WSDLException,
IOException,
TransformerException,
TransformerFactoryConfigurationError
javax.wsdl.WSDLExceptionIOExceptionTransformerExceptionTransformerFactoryConfigurationErrorpublic void afterPropertiesSet()
throws ParserConfigurationException,
IOException,
SAXException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.xml.xsd.SimpleXsdSchemaParserConfigurationExceptionIOExceptionSAXExceptionprotected abstract org.springframework.core.io.Resource loadSchemaResources()
public List<org.springframework.core.io.Resource> getSchemaResources()
Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.