|
|||||||||
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 | |
---|---|
java.lang.Class |
getElementClass()
Returns the implementation class of the interface returned by getElementInterface() . |
java.lang.Class |
getElementInterface()
Returns the interface matching the document type. |
JAXBContextImpl |
getFactory()
Returns the JAXBContextImpl ,
that created this manager. |
java.lang.Class |
getHandlerClass()
Returns the document types handler class. |
java.lang.Class |
getMarshallerClass()
Returns the document types marshaller 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()
Returns the interface matching the document type. This must be a subinterface of JMElement.
java.lang.Class getElementClass()
Returns the implementation class of the interface
returned by getElementInterface()
.
java.lang.Class getHandlerClass()
Returns the document types handler class. This class must be implementing JMHandler and it must be able to convert the document type controlled by the manager into objects implementing the element interface.
java.lang.Class getMarshallerClass()
Returns the document types marshaller class. This class must be implementing JMXmlSerializer and it must be able to convert objects implementing the element interface into a stream of SAX events.
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 |