|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
JMSAXDriver |
getDriver()
Returns an instance of the document types driver class. |
java.lang.Class |
getDriverClass()
Returns the document types driverr class. |
java.lang.Class |
getElementInterface()
Returns the interface matching the document type. |
java.lang.Object |
getElementJ()
Returns an instance of the element class. |
java.lang.Object |
getElementS()
Returns an instance of the element class. |
JAXBContextImpl |
getFactory()
Returns the JAXBContextImpl ,
that created this manager. |
JMSAXElementParser |
getHandler()
Returns an instance of the document types handler class. |
java.lang.Class |
getHandlerClass()
Returns the document types handler class. |
java.lang.Class |
getPmClass()
Returns the persistency class. |
java.lang.String |
getProperty(java.lang.String pName)
Returns a property value, which is used to configure the manager. |
QName |
getQName()
Returns the QName of the document type that this Manager controls. |
Method Detail |
---|
java.lang.String getProperty(java.lang.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
JAXBContextImpl getFactory()
Returns the JAXBContextImpl
,
that created this manager.
QName getQName()
Returns the QName of the document type that this Manager controls.
java.lang.Class getElementInterface()
JMElement
.
However, for support of POJO's, we should not depend
on this.
java.lang.Object getElementJ() throws JAXBException
getElementS()
, except that it throws a
different exception.
JAXBException
java.lang.Object getElementS() throws org.xml.sax.SAXException
getElementJ()
, except that it throws a
different exception.
org.xml.sax.SAXException
java.lang.Class getHandlerClass()
JMSAXElementParser getHandler() throws org.xml.sax.SAXException
org.xml.sax.SAXException
java.lang.Class getDriverClass()
JMSAXDriver getDriver() throws org.xml.sax.SAXException
org.xml.sax.SAXException
java.lang.Class getPmClass()
Returns the persistency class. The persistency class must be able to store documents in a database, update, delete or retrieve them.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |