Class XmlFactoryHook.ThreadContext

  • Enclosing interface:
    XmlFactoryHook

    public static final class XmlFactoryHook.ThreadContext
    extends java.lang.Object
    Used to manage the XmlFactoryHook for the current thread.
    • Method Detail

      • clearThreadLocals

        public static void clearThreadLocals()
      • getHook

        public static XmlFactoryHook getHook()
        Returns the current thread's hook, or null if none.
      • setHook

        public static void setHook​(XmlFactoryHook hook)
        Sets the hook for the current thread.