LoaderContext (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.configuration.xml, class: LoaderContext

# Class LoaderContext

java.lang.Object
org.apache.cayenne.configuration.xml.LoaderContext

public class LoaderContext extends Object

Since:
  4.1

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LoaderContext(XMLReader reader, HandlerFactory factory)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addDataChannelListener(DataChannelLoaderListener listener)`
  `void`
  `addDataMapListener(DataMapLoaderListener listener)`
  `void`
  `dataChannelLoaded(DataChannelDescriptor descriptor)`
  `void`
  `dataMapLoaded(DataMap dataMap)`
  `HandlerFactory`
  `getFactory()`
  `XMLReader`
  `getXmlReader()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LoaderContext

    public LoaderContext(XMLReader reader, HandlerFactory factory)

- ## Method Details

  - ### getFactory

    public HandlerFactory getFactory()

  - ### getXmlReader

    public XMLReader getXmlReader()

  - ### addDataMapListener

    public void addDataMapListener(DataMapLoaderListener listener)

  - ### dataMapLoaded

    public void dataMapLoaded(DataMap dataMap)

  - ### addDataChannelListener

    public void addDataChannelListener(DataChannelLoaderListener listener)

  - ### dataChannelLoaded

    public void dataChannelLoaded(DataChannelDescriptor descriptor)