com.ricebridge.xmlman.in
Class XmlManagerStore

java.lang.Object
  extended bycom.ricebridge.xmlman.in.XmlManagerStoreBase
      extended bycom.ricebridge.xmlman.in.XmlManagerStore

public class XmlManagerStore
extends XmlManagerStoreBase

This is a utility class for creating object instances used by XmlManager.

The RecordListeners and RecordProviders are handled by the XmlManagerStoreBase class, which is generated by Jostraca. This class handles individual objects that are not RecordListeners or RecordProviders.

By calling the setXmlWriterClass method, you can use your own subclass of XmlWriter for xml generation. This provides a direct route for customizing the XML output of XML Manager.

By calling the setSAXParserFactory method, you can get XML Manager to use the SAX parser of your choice. Normally XML Manager defaults to SAXParserFactory.

Note: this class is not thread safe - you should set up your customizations once for each XmlManager object before using XML Manager to load or save data.

See Also:
XmlManager, XmlManagerStoreBase

Constructor Summary
XmlManagerStore()
           
 
Method Summary
 SAXParserFactory getSAXParserFactory()
          Get the current SAXParserFactory instance.
 XmlWriter newXmlWriter()
          Create a new XmlWriter instance.
 void setSAXParserFactory(SAXParserFactory pSAXParserFactory)
          Set the current SAXParserFactory instance.
 void setXmlWriterClass(Class pXmlWriterClass)
          Set the class used to create new instances of XmlWriter.
 
Methods inherited from class com.ricebridge.xmlman.in.XmlManagerStoreBase
newBeanRecordListener, newBeanRecordProvider, newResultSetRecordListener, newResultSetRecordProvider, newStringArrayRecordListener, newStringArrayRecordProvider, newStringListRecordListener, newStringListRecordProvider, newTableModelRecordListener, newTableModelRecordProvider, setBeanRecordListenerClass, setBeanRecordProviderClass, setResultSetRecordListenerClass, setResultSetRecordProviderClass, setStringArrayRecordListenerClass, setStringArrayRecordProviderClass, setStringListRecordListenerClass, setStringListRecordProviderClass, setTableModelRecordListenerClass, setTableModelRecordProviderClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlManagerStore

public XmlManagerStore()
Method Detail

newXmlWriter

public XmlWriter newXmlWriter()
Create a new XmlWriter instance.


setXmlWriterClass

public void setXmlWriterClass(Class pXmlWriterClass)
Set the class used to create new instances of XmlWriter.


getSAXParserFactory

public SAXParserFactory getSAXParserFactory()
Get the current SAXParserFactory instance.


setSAXParserFactory

public void setSAXParserFactory(SAXParserFactory pSAXParserFactory)
Set the current SAXParserFactory instance.



Copyright © 2004-2005 Ricebridge