com.xml_project.morganaxproc.connectors
Interface ValidationConnector


public interface ValidationConnector


Nested Class Summary
static class ValidationConnector.SchemaError
           
 
Field Summary
static java.lang.String RelaxNG_check_id_idRef
           
static java.lang.String RelaxNG_compact_syntax
           
 
Method Summary
 java.lang.String getErrorMessages()
           
 java.lang.String getInfo()
           
 boolean validateNVDL(nu.xom.Document nvdlSchema, nu.xom.Document document, org.xml.sax.EntityResolver entityResolver)
           
 boolean validateRelaxNG(java.lang.String schema, java.lang.String baseURI, nu.xom.Document document, org.xml.sax.EntityResolver entityResolver, java.util.Properties properties)
           
 

Field Detail

RelaxNG_check_id_idRef

static final java.lang.String RelaxNG_check_id_idRef
See Also:
Constant Field Values

RelaxNG_compact_syntax

static final java.lang.String RelaxNG_compact_syntax
See Also:
Constant Field Values
Method Detail

validateRelaxNG

boolean validateRelaxNG(java.lang.String schema,
                        java.lang.String baseURI,
                        nu.xom.Document document,
                        org.xml.sax.EntityResolver entityResolver,
                        java.util.Properties properties)
                        throws org.xml.sax.SAXException,
                               java.io.IOException,
                               ValidationConnector.SchemaError
Throws:
org.xml.sax.SAXException
java.io.IOException
ValidationConnector.SchemaError

validateNVDL

boolean validateNVDL(nu.xom.Document nvdlSchema,
                     nu.xom.Document document,
                     org.xml.sax.EntityResolver entityResolver)
                     throws org.xml.sax.SAXException,
                            java.io.IOException
Throws:
org.xml.sax.SAXException
java.io.IOException

getErrorMessages

java.lang.String getErrorMessages()

getInfo

java.lang.String getInfo()