|
|||||||||
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
public class 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()
JMManager
Returns 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.ClassNotFoundException
public java.lang.Class getElementClass()
JMManager
Returns 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.ClassNotFoundException
public java.lang.Class getElementInterface()
JMManager
Returns 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.ClassNotFoundException
public java.lang.Class getHandlerClass()
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.
getHandlerClass
in interface JMManager
public void setMarshallerClass(java.lang.String pMarshallerClass) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.Class getMarshallerClass()
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.
getMarshallerClass
in interface JMManager
public void setPmClass(java.lang.String pPersistencyClass) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.Class getPmClass()
JMManager
Returns the persistency class. The persistency class must be able to store documents in a database, update, delete or retrieve them.
getPmClass
in interface JMManager
public JAXBContextImpl getFactory()
JMManager
Returns the JAXBContextImpl
,
that created this manager.
getFactory
in interface JMManager
public Configuration.Manager.Property createProperty()
public java.lang.String getProperty(java.lang.String pName)
JMManager
Returns a property value, which is used to configure the manager. The property value is set in the configuration file.
getProperty
in interface JMManager
pName
- 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 |