|
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.commons.CommonsXsdSchema
public class CommonsXsdSchema
Implementation of the XsdSchema interface that uses Apache WS-Commons XML Schema.
| Constructor Summary | |
|---|---|
protected |
CommonsXsdSchema(XmlSchema schema)
Create a new instance of the CommonsXsdSchema class with the specified XmlSchema reference. |
protected |
CommonsXsdSchema(XmlSchema schema,
XmlSchemaCollection collection)
Create a new instance of the CommonsXsdSchema class with the specified XmlSchema and XmlSchemaCollection reference. |
| Method Summary | |
|---|---|
XmlValidator |
createValidator()
Creates a XmlValidator based on the schema. |
QName[] |
getElementNames()
|
XmlSchema |
getSchema()
Returns the wrapped Commons XmlSchema object. |
Source |
getSource()
Returns the Source of the schema. |
String |
getTargetNamespace()
Returns the target namespace of this schema. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected CommonsXsdSchema(XmlSchema schema)
CommonsXsdSchema class with the specified XmlSchema reference.
schema - the Commons XmlSchema object; must not be null
IllegalArgumentException - if the supplied schema is null
protected CommonsXsdSchema(XmlSchema schema,
XmlSchemaCollection collection)
CommonsXsdSchema class with the specified XmlSchema and XmlSchemaCollection reference.
schema - the Commons XmlSchema object; must not be nullcollection - the Commons XmlSchemaCollection object; can be null
IllegalArgumentException - if the supplied schema is null| Method Detail |
|---|
public String getTargetNamespace()
XsdSchema
getTargetNamespace in interface XsdSchemapublic QName[] getElementNames()
public 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 errorspublic XmlSchema getSchema()
XmlSchema object.
public 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 | |||||||||