|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.xml.xsd.SimpleXsdSchema
public class SimpleXsdSchema
The default XsdSchema implementation.
setXsd(Resource), or directly in the constructor.
| Constructor Summary | |
|---|---|
SimpleXsdSchema()
Create a new instance of the SimpleXsdSchema class. |
|
SimpleXsdSchema(Resource xsdResource)
Create a new instance of the SimpleXsdSchema class with the specified resource. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
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. |
void |
setXsd(Resource xsdResource)
Set the XSD resource to be exposed by calls to this instances' getSource() method. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleXsdSchema()
SimpleXsdSchema class.
A subsequent call to the setXsd(Resource) method is required.
public SimpleXsdSchema(Resource xsdResource)
SimpleXsdSchema class with the specified resource.
xsdResource - the XSD resource; must not be null
IllegalArgumentException - if the supplied xsdResource is null| Method Detail |
|---|
public void setXsd(Resource xsdResource)
getSource() method.
xsdResource - the XSD resourcepublic String getTargetNamespace()
XsdSchema
getTargetNamespace in interface XsdSchemapublic Source getSource()
XsdSchemaSource of the schema.
getSource in interface XsdSchema
public XmlValidator createValidator()
throws IOException
XsdSchemaXmlValidator based on the schema.
createValidator in interface XsdSchemaIOException - in case of I/O errors
public void afterPropertiesSet()
throws ParserConfigurationException,
IOException,
SAXException
afterPropertiesSet in interface InitializingBeanParserConfigurationException
IOException
SAXExceptionpublic String toString()
toString in class Object
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||