public abstract class AbstractXmlValidator<T> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractXmlValidator(byte[] xsdFile,
InputStream fileStream)
Custom constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getMessages()
Getter for messages attribute.
|
String |
getMessagesText()
Getter for messages as single text.
|
protected abstract String |
getXsdPath()
Return the XSD Schema Path.
|
boolean |
isValid()
Returns whether or not checked XJDF Document is valid.
|
protected AbstractXmlValidator(byte[] xsdFile,
InputStream fileStream)
protected abstract String getXsdPath()
public String getMessagesText()
public boolean isValid()
throws ClassNotFoundException,
IllegalAccessException,
InstantiationException,
SAXException,
ParserConfigurationException,
IOException
IOExceptionParserConfigurationExceptionSAXExceptionInstantiationExceptionIllegalAccessExceptionClassNotFoundExceptionCopyright © 2012. All Rights Reserved.