org.exolab.castor.xml
public interface ClassDescriptorResolver
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:09 $
Method Summary | |
---|---|
boolean | error()
Returns true if an error was generated on the last call
to one of the resolve methods |
String | getErrorMessage()
Returns the last error message generated
If no error String exists, null will be returned |
XMLMappingLoader | getMappingLoader() Note: This method will be removed soon (kv). |
XMLClassDescriptor | resolve(Class type)
Returns the XMLClassDescriptor for the given class |
XMLClassDescriptor | resolve(String className)
Returns the XMLClassDescriptor for the given class name |
XMLClassDescriptor | resolve(String className, ClassLoader loader)
Returns the XMLClassDescriptor for the given class name |
ClassDescriptorEnumeration | resolveAllByXMLName(String xmlName, String namespaceURI, ClassLoader loader)
Returns an enumeration of XMLClassDescriptor objects that
match the given xml name
|
XMLClassDescriptor | resolveByXMLName(String xmlName, String namespaceURI, 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). |
Returns: true if an error was generated on the last call to one of the resolve methods
Returns: the last error message generated. If no error String exists, null will be returned
Parameters: type the Class to find the XMLClassDescriptor for
Returns: the XMLClassDescriptor for the given class
Parameters: className the class name to find the XMLClassDescriptor for
Returns: the XMLClassDescriptor for the given class name
Parameters: className the class name to find the XMLClassDescriptor for loader the ClassLoader to use
Returns: the XMLClassDescriptor for the given class name
Parameters: className the class name to find the XMLClassDescriptor for loader the ClassLoader to use
Returns: an enumeration of XMLClassDescriptor objects.
Parameters: className the class name to find the XMLClassDescriptor for loader the ClassLoader to use
Returns: the XMLClassDescriptor for the given XML name