|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ClassDescriptorResolver
An interface for finding or "resolving" XMLClassDescriptor classes.
Note:
This interface is used by the marshalling Framework for
resolving XMLClassDescriptors for non-primitive types.
There are no guarantees that this class will be called for
java native classes.
| Method Summary | |
|---|---|
XMLMappingLoader |
getMappingLoader()
Note: This method will be removed soon (kv). |
XMLClassDescriptor |
resolve(java.lang.Class type)
Returns the XMLClassDescriptor for the given class |
XMLClassDescriptor |
resolve(java.lang.String className)
Returns the XMLClassDescriptor for the given class name |
XMLClassDescriptor |
resolve(java.lang.String className,
java.lang.ClassLoader loader)
Returns the XMLClassDescriptor for the given class name |
ClassDescriptorEnumeration |
resolveAllByXMLName(java.lang.String xmlName,
java.lang.String namespaceURI,
java.lang.ClassLoader loader)
Returns an enumeration of XMLClassDescriptor objects that match the given xml name |
XMLClassDescriptor |
resolveByXMLName(java.lang.String xmlName,
java.lang.String namespaceURI,
java.lang.ClassLoader loader)
Returns the first XMLClassDescriptor that matches the given XML name and namespaceURI. |
void |
setMappingLoader(XMLMappingLoader xmlMappingLoader)
Sets the mapping loader for this ClassDescriptorResolver Note: This method will be removed soon (kv). |
| Method Detail |
|---|
XMLMappingLoader getMappingLoader()
XMLClassDescriptor resolve(java.lang.Class type)
throws ResolverException
type - the Class to find the XMLClassDescriptor for
ResolverException
XMLClassDescriptor resolve(java.lang.String className)
throws ResolverException
className - the class name to find the XMLClassDescriptor for
ResolverException
XMLClassDescriptor resolve(java.lang.String className,
java.lang.ClassLoader loader)
throws ResolverException
className - the class name to find the XMLClassDescriptor forloader - the ClassLoader to use
ResolverException
XMLClassDescriptor resolveByXMLName(java.lang.String xmlName,
java.lang.String namespaceURI,
java.lang.ClassLoader loader)
throws ResolverException
className - the class name to find the XMLClassDescriptor forloader - the ClassLoader to use
ResolverException
ClassDescriptorEnumeration resolveAllByXMLName(java.lang.String xmlName,
java.lang.String namespaceURI,
java.lang.ClassLoader loader)
throws ResolverException
className - the class name to find the XMLClassDescriptor forloader - the ClassLoader to use
ResolverExceptionvoid setMappingLoader(XMLMappingLoader xmlMappingLoader)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||