|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jaxme.impl.Configuration.Manager
| Constructor Summary | |
Configuration.Manager()
|
|
| Method Summary | |
void |
finish()
|
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. |
java.lang.Class |
getHandlerClass()
Returns the document types handler class. |
java.lang.Class |
getMarshallerClass()
Returns the document types marshaller class. |
java.lang.Class |
getPersistencyClass()
Returns the persistency class. |
QName |
getQName()
Returns the QName of the document type that this Manager controls. |
void |
setElementClass(java.lang.Class pElementClass)
|
void |
setElementInterface(java.lang.Class pElementInterface)
|
void |
setHandlerClass(java.lang.Class pHandlerClass)
|
void |
setMarshallerClass(java.lang.Class pMarshallerClass)
|
void |
setPersistencyClass(java.lang.Class pPersistencyClass)
|
void |
setQName(QName pName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Configuration.Manager()
| Method Detail |
public void setQName(QName pName)
public QName getQName()
JMManagerReturns the QName of the document type that this Manager controls.
getQName in interface JMManagerpublic void setElementClass(java.lang.Class pElementClass)
public java.lang.Class getElementClass()
JMManagerReturns the implementation class of the interface
returned by getElementInterface().
getElementClass in interface JMManagerpublic void setElementInterface(java.lang.Class pElementInterface)
public java.lang.Class getElementInterface()
JMManagerReturns the interface matching the document type. This must be a subinterface of JMElement.
getElementInterface in interface JMManagerpublic void setHandlerClass(java.lang.Class pHandlerClass)
public java.lang.Class getHandlerClass()
JMManagerReturns 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.
getHandlerClass in interface JMManagerpublic void setMarshallerClass(java.lang.Class pMarshallerClass)
public java.lang.Class getMarshallerClass()
JMManagerReturns 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.
getMarshallerClass in interface JMManagerpublic void setPersistencyClass(java.lang.Class pPersistencyClass)
public java.lang.Class getPersistencyClass()
JMManagerReturns the persistency class. The persistency class must be able to store documents in a database, update, delete or retrieve them.
getPersistencyClass in interface JMManager
public void finish()
throws SAXException
SAXException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||