org.apache.ws.jaxme.impl
public class JAXBContextImpl extends JAXBContext
JaxMe's implementation of a JAXBContext.
Version: $Id: JAXBContextImpl.java 437259 2006-08-27 00:25:00Z jochen $
Field Summary | |
---|---|
static String | CONFIGURATION_URI The namespace of JaxMe's configuration files. |
Constructor Summary | |
---|---|
protected | JAXBContextImpl() |
Method Summary | |
---|---|
void | addManager(JMManager pManager) Invoked from the SAX handler when reading the config file
for adding another instance of JMManager. |
Configuration | createConfiguration(Attributes pAttributes) Invoked from the SAX handler when loading the config file. |
static JAXBContextImpl | createContext() Creates a new instance of JAXBContext.
|
static JAXBContextImpl | createContext(String pPackageNames, ClassLoader pClassLoader) Creates a new instance of JAXBContext.
|
Marshaller | createMarshaller() |
Unmarshaller | createUnmarshaller() |
Validator | createValidator() |
ClassLoader | getClassLoader() Returns the ClassLoader to use. |
JMMarshaller | getJMMarshaller() Returns a new JMMarshaller. |
Class | getJMMarshallerClass() Returns the JMMarshaller class to use. |
PM | getJMPM(Class pElementInterface) Returns a new instance of JMPM. |
PM | getJMPM(QName pQName) Returns a new instance of JMPM. |
JMUnmarshaller | getJMUnmarshaller() Returns a new JMUnmarshaller. |
Class | getJMUnmarshallerClass() Sets the JMUnmarshaller class to use. |
JMValidator | getJMValidator() Returns a new JMValidator. |
Class | getJMValidatorClass() Returns the JMValidator class to use. |
JMManager | getManager(QName pQName) Returns a Manager for the given QName.
|
JMManager | getManager(Class pElementInterface) Returns a Manager for the given element interface.
|
protected JMManager | getManagerByInterface(Class pElementInterface) |
protected JMManager | getManagerByQName(QName pQName) |
JMManager | getManagerS(Class pElementInterface) Returns a Manager for the given element interface.
|
String | getPackageNames() Returns the package names managed by this context. |
protected void | init() Initializes the context by loading the configuration or the configurations from the given classpath. |
protected void | setClassLoader(ClassLoader pClassLoader) Sets the ClassLoader to use. |
protected void | setJMMarshallerClass(Class pClass) Sets the JMMarshaller class to use. |
protected void | setJMUnmarshallerClass(Class pClass) Sets the JMUnmarshaller class to use. |
protected void | setJMValidatorClass(Class pClass) Sets the JMValidator class to use. |
protected void | setPackageNames(String pPackageNames) Sets the package names managed by this context. |
Returns the ClassLoader to use.
Returns a new JMMarshaller.
Returns the JMMarshaller class to use.
Returns a new instance of JMPM.
Returns a new instance of JMPM.
Returns a new JMUnmarshaller.
Sets the JMUnmarshaller class to use.
Returns a new JMValidator.
Returns the JMValidator class to use.
Throws: JAXBException No Manager is registered for the given QName.
Throws: JAXBException No Manager is registered for the given QName.
See Also: getManagerS
Throws: SAXException No Manager is registered for the given QName.
See Also: getManager
Returns the package names managed by this context.
Initializes the context by loading the configuration or the configurations from the given classpath.
Sets the ClassLoader to use.
Sets the JMMarshaller class to use.
Sets the JMUnmarshaller class to use.
Sets the JMValidator class to use.
Sets the package names managed by this context.