Class XMLSchemaValidator


  • public class XMLSchemaValidator
    extends java.lang.Object
    • Constructor Detail

      • XMLSchemaValidator

        public XMLSchemaValidator()
    • Method Detail

      • validateXMLDataWithXMLSchema

        public static void validateXMLDataWithXMLSchema​(java.io.Reader XMLDataReader,
                                                        java.io.Reader XMLSchemaReader)
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validateXMLDataWithPXMLSchema

        public static void validateXMLDataWithPXMLSchema​(java.io.Reader XMLDataReader,
                                                         java.io.Reader pXMLSchemaReader,
                                                         java.lang.Object pXMLSchemaResource)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validatePXMLDataWithXMLSchema

        public static void validatePXMLDataWithXMLSchema​(java.io.Reader pXMLDataReader,
                                                         java.lang.Object pXMLDataResource,
                                                         java.io.Reader XMLSchemaReader)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validatePXMLFileWithPXMLSchemaFile

        public static void validatePXMLFileWithPXMLSchemaFile​(java.io.File pXMLDataFile,
                                                              java.io.File pXMLSchemaFile)
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validatePXMLDataWithPXMLSchema

        public static void validatePXMLDataWithPXMLSchema​(java.io.Reader pXMLDataReader,
                                                          java.lang.Object pXMLDataResource,
                                                          java.io.Reader pXMLSchemaReader,
                                                          java.lang.Object pXMLSchemaResource)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • validateDocumentWithSchemaDocument

        public static void validateDocumentWithSchemaDocument​(org.w3c.dom.Document XMLDocument,
                                                              org.w3c.dom.Document XMLSchemaDocument)
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception