|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.impl.Configuration.Manager
| Nested Class Summary | |
class |
Configuration.Manager.Property
|
| Constructor Summary | |
Configuration.Manager()
|
|
| Method Summary | |
Configuration.Manager.Property |
createProperty()
|
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. |
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. |
void |
setElementClass(java.lang.String pElementClass)
|
void |
setElementInterface(java.lang.String pElementInterface)
|
void |
setHandlerClass(java.lang.String pHandlerClass)
|
void |
setMarshallerClass(java.lang.String pMarshallerClass)
|
void |
setPmClass(java.lang.String 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 JMManager
public void setElementClass(java.lang.String pElementClass)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic java.lang.Class getElementClass()
JMManagerReturns the implementation class of the interface
returned by getElementInterface().
getElementClass in interface JMManager
public void setElementInterface(java.lang.String pElementInterface)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic java.lang.Class getElementInterface()
JMManagerReturns the interface matching the document type. This must be a subinterface of JMElement.
getElementInterface in interface JMManager
public void setHandlerClass(java.lang.String pHandlerClass)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic 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 JMManager
public void setMarshallerClass(java.lang.String pMarshallerClass)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic 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 JMManager
public void setPmClass(java.lang.String pPersistencyClass)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic java.lang.Class getPmClass()
JMManagerReturns the persistency class. The persistency class must be able to store documents in a database, update, delete or retrieve them.
getPmClass in interface JMManagerpublic JAXBContextImpl getFactory()
JMManagerReturns the JAXBContextImpl,
that created this manager.
getFactory in interface JMManagerpublic Configuration.Manager.Property createProperty()
public java.lang.String getProperty(java.lang.String pName)
JMManagerReturns a property value, which is used to configure the manager. The property value is set in the configuration file.
getProperty in interface JMManagerpName - The property name
public void finish()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||