Class SchemaCache


  • public final class SchemaCache
    extends java.lang.Object
    Wraps a JAXP Schema object and lazily instantiate it. This object is thread-safe. There should be only one instance of this for the whole VM.
    Author:
    Kohsuke Kawaguchi
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaCache​(java.lang.String resourceName, java.lang.Class<?> classToResolveResources)  
      SchemaCache​(java.lang.String resourceName, java.lang.Class<?> classToResolveResources, boolean createResolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.xml.validation.ValidatorHandler newValidator()  
      • Methods inherited from class java.lang.Object

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

      • SchemaCache

        public SchemaCache​(java.lang.String resourceName,
                           java.lang.Class<?> classToResolveResources)
      • SchemaCache

        public SchemaCache​(java.lang.String resourceName,
                           java.lang.Class<?> classToResolveResources,
                           boolean createResolver)
    • Method Detail

      • newValidator

        public javax.xml.validation.ValidatorHandler newValidator()