finish
public void finish()
throws SAXException
getDriver
public JMSAXDriver getDriver()
throws SAXException
Returns an instance of the document types driver class.
- getDriver in interface JMManager
getDriverClass
public Class getDriverClass()
Returns the document types driverr class.
- getDriverClass in interface JMManager
getElementClass
public Class getElementClass()
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.
- getElementInterface in interface JMManager
getHandlerClass
public Class getHandlerClass()
Returns the document types handler class.
- getHandlerClass in interface JMManager
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.
- getPmClass in interface JMManager
getPrefix
public String getPrefix()
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.
- getProperty in interface JMManager
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.
- getQName in interface JMManager
setDriverClass
public void setDriverClass(String pMarshallerClass)
throws ClassNotFoundException
setElementClass
public void setElementClass(String pElementClass)
throws ClassNotFoundException
setElementInterface
public void setElementInterface(String pElementInterface)
throws ClassNotFoundException
setHandlerClass
public void setHandlerClass(String pHandlerClass)
throws ClassNotFoundException
setPmClass
public void setPmClass(String pPersistencyClass)
throws ClassNotFoundException
Sets the persistence manager class.
setPrefix
public void setPrefix(String prefix)
Sets the suggested prefix for the elements namespace.
setQName
public void setQName(QName pName)