net.sf.jaxme.impl
Class Configuration.Manager

java.lang.Object
  extended bynet.sf.jaxme.impl.Configuration.Manager
All Implemented Interfaces:
JMManager
Enclosing class:
Configuration

public class Configuration.Manager
extends java.lang.Object
implements JMManager


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

Configuration.Manager

public Configuration.Manager()
Method Detail

setQName

public void setQName(QName pName)

getQName

public QName getQName()
Description copied from interface: JMManager

Returns the QName of the document type that this Manager controls.

Specified by:
getQName in interface JMManager

setElementClass

public void setElementClass(java.lang.Class pElementClass)

getElementClass

public java.lang.Class getElementClass()
Description copied from interface: JMManager

Returns the implementation class of the interface returned by getElementInterface().

Specified by:
getElementClass in interface JMManager

setElementInterface

public void setElementInterface(java.lang.Class pElementInterface)

getElementInterface

public java.lang.Class getElementInterface()
Description copied from interface: JMManager

Returns the interface matching the document type. This must be a subinterface of JMElement.

Specified by:
getElementInterface in interface JMManager

setHandlerClass

public void setHandlerClass(java.lang.Class pHandlerClass)

getHandlerClass

public java.lang.Class getHandlerClass()
Description copied from interface: JMManager

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.

Specified by:
getHandlerClass in interface JMManager

setMarshallerClass

public void setMarshallerClass(java.lang.Class pMarshallerClass)

getMarshallerClass

public java.lang.Class getMarshallerClass()
Description copied from interface: JMManager

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.

Specified by:
getMarshallerClass in interface JMManager

setPersistencyClass

public void setPersistencyClass(java.lang.Class pPersistencyClass)

getPersistencyClass

public java.lang.Class getPersistencyClass()
Description copied from interface: JMManager

Returns the persistency class. The persistency class must be able to store documents in a database, update, delete or retrieve them.

Specified by:
getPersistencyClass in interface JMManager

finish

public void finish()
            throws SAXException
Throws:
SAXException