| java.lang.Object javax.xml.bind.ContextFinder
ContextFinder | class ContextFinder (Code) | | This class is package private and therefore is not exposed as part of the
JAXB API.
This code is designed to implement the JAXB 1.0 spec pluggability feature
author: - Ryan Shoemaker, Sun Microsystems, Inc.
version: $Revision: 1.25 $ See Also: JAXBContext |
Method Summary | |
static JAXBContext | find(String factoryId, String contextPath, ClassLoader classLoader, Map properties) | static JAXBContext | find(Class[] classes, Map properties) | static JAXBContext | newInstance(String contextPath, String className, ClassLoader classLoader, Map properties) | static JAXBContext | newInstance(Class[] classes, Map properties, String className) | static URL | which(Class clazz, ClassLoader loader) Search the given ClassLoader for an instance of the specified class and
return a string representation of the URL that points to the resource.
Parameters: clazz - The class to search for Parameters: loader - The ClassLoader to search. | static URL | which(Class clazz) Get the URL for the Class from it's ClassLoader. |
which | static URL which(Class clazz, ClassLoader loader)(Code) | | Search the given ClassLoader for an instance of the specified class and
return a string representation of the URL that points to the resource.
Parameters: clazz - The class to search for Parameters: loader - The ClassLoader to search. If this parameter is null, then thesystem class loader will be searchedthe URL for the class or null if it wasn't found |
which | static URL which(Class clazz)(Code) | | Get the URL for the Class from it's ClassLoader.
Convenience method for
ContextFinder.which(Class,ClassLoader) .
Equivalent to calling: which(clazz, clazz.getClassLoader())
Parameters: clazz - The class to search forthe URL for the class or null if it wasn't found |
|
|