|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.listeners.config.MockXmlValidatorImpl
public class MockXmlValidatorImpl
| Constructor Summary | |
|---|---|
MockXmlValidatorImpl()
|
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getValidationResults()
If the validation fails, more details can be obtained about the reasons why. |
org.w3c.dom.Document |
getXMLDocument()
After validation the parsed document can be obtained for further processing. |
boolean |
validate(org.xml.sax.InputSource xmlInputSource)
Validates an xml for it's wellformedness. |
boolean |
validate(org.xml.sax.InputSource xmlInputSource,
javax.xml.transform.stream.StreamSource validationSource)
Validates an xml using the xsd or dtd given in the second argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockXmlValidatorImpl()
| Method Detail |
|---|
public java.util.Collection<java.lang.String> getValidationResults()
XmlValidator
getValidationResults in interface XmlValidatorpublic org.w3c.dom.Document getXMLDocument()
XmlValidator
getXMLDocument in interface XmlValidator
public boolean validate(org.xml.sax.InputSource xmlInputSource)
throws XmlValidatorException
XmlValidator
validate in interface XmlValidatorxmlInputSource - of the xml that needs to be validated.
XmlValidatorException
public boolean validate(org.xml.sax.InputSource xmlInputSource,
javax.xml.transform.stream.StreamSource validationSource)
throws XmlValidatorException
XmlValidator
validate in interface XmlValidatorxmlInputSource - of the xml that needs to be validated.validationSource - to the xsd or dtd.
XmlValidatorException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||