Class Utils


  • final class Utils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Utils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static java.lang.String getMessage​(java.lang.Throwable cause)  
      (package private) static void notEmpty​(java.lang.String name, java.lang.String value)  
      (package private) static void notNull​(java.lang.String name, java.lang.Object value)  
      (package private) static ValidationResult validate​(org.w3c.dom.Document doc, java.net.URL... schemaLocations)  
      (package private) static ValidationResult validate​(org.w3c.dom.Document doc, javax.xml.transform.Source... schemas)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utils

        private Utils()
    • Method Detail

      • getMessage

        static java.lang.String getMessage​(java.lang.Throwable cause)
      • notEmpty

        static void notEmpty​(java.lang.String name,
                             java.lang.String value)
      • notNull

        static void notNull​(java.lang.String name,
                            java.lang.Object value)
      • validate

        static ValidationResult validate​(org.w3c.dom.Document doc,
                                         javax.xml.transform.Source... schemas)
                                  throws java.io.IOException,
                                         org.xml.sax.SAXException
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
      • validate

        static ValidationResult validate​(org.w3c.dom.Document doc,
                                         java.net.URL... schemaLocations)
                                  throws java.net.URISyntaxException,
                                         java.io.IOException,
                                         org.xml.sax.SAXException
        Throws:
        java.net.URISyntaxException
        java.io.IOException
        org.xml.sax.SAXException