org.apache.ws.jaxme
Interface JMManager
- Configuration.Manager
public interface JMManager
A JMManager controls the object factory (aka JAXBContext)
for a given document type. The document type is both identified
by its QName and its interface, which is extending JMElement.
getDriver
public JMSAXDriver getDriver()
throws SAXException
Returns an instance of the document types driver class.
getDriverClass
public Class getDriverClass()
Returns the document types driverr class.
getElementInterface
public Class getElementInterface()
Returns the interface matching the document type.
Usually, this is a a subinterface of
JMElement
.
However, for support of POJO's, we should not depend
on this.
getElementJ
public Object getElementJ()
throws JAXBException
Returns an instance of the element class. Same as
getElementS()
, except that it throws a
different exception.
getElementS
public Object getElementS()
throws SAXException
Returns an instance of the element class. Same as
getElementJ()
, except that it throws a
different exception.
getHandler
public JMSAXElementParser getHandler()
throws SAXException
Returns an instance of the document types handler class.
getHandlerClass
public Class getHandlerClass()
Returns the document types handler class.
getPmClass
public Class getPmClass()
Returns the persistency class. The persistency class
must be able to store documents in a database, update,
delete or retrieve them.
getProperty
public String getProperty(String pName)
Returns a property value, which is used to configure
the manager. The property value is set in the configuration
file.
pName
- The property name
- pValue The property value; null, if the property is not
set.
getQName
public QName getQName()
Returns the QName of the document type that this
Manager controls.