Package org.jibx.util

Interface IClassLocator

    • Method Detail

      • isLookupSupported

        boolean isLookupSupported()
        Check if class lookup is supported. If this returns false, lookup methods return only place holder class information.
        Returns:
        true if class lookup supported, false if only place holder information returned
      • getClassInfo

        IClass getClassInfo​(java.lang.String name)
        Get class information.
        Parameters:
        name - fully-qualified name of class to be found
        Returns:
        class information, or null if class not found
      • getRequiredClassInfo

        IClass getRequiredClassInfo​(java.lang.String name)
        Get required class information. This is just like getClassInfo(String), but throws a runtime exception rather than returning null.
        Parameters:
        name - fully-qualified name of class to be found
        Returns:
        class information (non-null)
      • loadClass

        java.lang.Class loadClass​(java.lang.String name)
        Load class.
        Parameters:
        name - fully-qualified class name
        Returns:
        loaded class, or null if not found