Public Member Functions | |
String | getErrorMessage () |
boolean | error () |
XMLMappingLoader | getMappingLoader () |
XMLClassDescriptor | resolve (Class type) |
XMLClassDescriptor | resolve (String className) |
XMLClassDescriptor | resolve (String className, ClassLoader loader) |
XMLClassDescriptor | resolveByXMLName (String xmlName, String namespaceURI, ClassLoader loader) |
ClassDescriptorEnumeration | resolveAllByXMLName (String xmlName, String namespaceURI, ClassLoader loader) |
void | setMappingLoader (XMLMappingLoader xmlMappingLoader) |
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 is no guarantees that this class will be called for java native classes.
boolean org.exolab.castor.xml.ClassDescriptorResolver.error | ( | ) |
Returns true if an error was generated on the last call to one of the resolve methods
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
String org.exolab.castor.xml.ClassDescriptorResolver.getErrorMessage | ( | ) |
Returns the last error message generated If no error String exists, null will be returned
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
XMLMappingLoader org.exolab.castor.xml.ClassDescriptorResolver.getMappingLoader | ( | ) |
Note: This method will be removed soon (kv).
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
XMLClassDescriptor org.exolab.castor.xml.ClassDescriptorResolver.resolve | ( | Class | type | ) |
Returns the XMLClassDescriptor for the given class
type | the Class to find the XMLClassDescriptor for |
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
Referenced by org.exolab.castor.xml.MarshalFramework.searchInheritance().
XMLClassDescriptor org.exolab.castor.xml.ClassDescriptorResolver.resolve | ( | String | className | ) |
Returns the XMLClassDescriptor for the given class name
className | the class name to find the XMLClassDescriptor for |
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
XMLClassDescriptor org.exolab.castor.xml.ClassDescriptorResolver.resolve | ( | String | className, | |
ClassLoader | loader | |||
) |
Returns the XMLClassDescriptor for the given class name
className | the class name to find the XMLClassDescriptor for | |
loader | the ClassLoader to use |
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
ClassDescriptorEnumeration org.exolab.castor.xml.ClassDescriptorResolver.resolveAllByXMLName | ( | String | xmlName, | |
String | namespaceURI, | |||
ClassLoader | loader | |||
) |
Returns an enumeration of XMLClassDescriptor objects that match the given xml name
className | the class name to find the XMLClassDescriptor for | |
loader | the ClassLoader to use |
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
Referenced by org.exolab.castor.xml.MarshalFramework.searchInheritance().
XMLClassDescriptor org.exolab.castor.xml.ClassDescriptorResolver.resolveByXMLName | ( | String | xmlName, | |
String | namespaceURI, | |||
ClassLoader | loader | |||
) |
Returns the first XMLClassDescriptor that matches the given XML name and namespaceURI. Null is returned if no descriptor can be found.
className | the class name to find the XMLClassDescriptor for | |
loader | the ClassLoader to use |
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
void org.exolab.castor.xml.ClassDescriptorResolver.setMappingLoader | ( | XMLMappingLoader | xmlMappingLoader | ) |
Sets the mapping loader for this ClassDescriptorResolver
Note: This method will be removed soon (kv).
Implemented in org.exolab.castor.xml.util.ClassDescriptorResolverImpl.
Referenced by org.exolab.castor.xml.Unmarshaller.setMapping(), and org.exolab.castor.xml.Marshaller.setMapping().