Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.conf
Class ConfigLoader

    java.lang.Object
      org.apache.cayenne.conf.ConfigLoader

    public class ConfigLoader

extends java.lang.Object

Class that performs runtime loading of Cayenne configuration.

Author:
  Andrei Adamchik

Field Summary
`protected ConfigLoaderDelegate` | `delegate`
`protected org.xml.sax.XMLReader` | `parser`

Constructor Summary
`ConfigLoader(ConfigLoaderDelegate delegate)` Creates new ConfigLoader.

Method Summary
`ConfigLoaderDelegate` | `getDelegate()` Returns the delegate.
`boolean` | `loadDomains(java.io.InputStream in)` Parses XML input, invoking delegate methods to interpret loaded XML.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### parser

    protected org.xml.sax.XMLReader parser

### delegate

    protected ConfigLoaderDelegate delegate

Constructor Detail

### ConfigLoader

    public ConfigLoader(ConfigLoaderDelegate delegate)
                 throws java.lang.Exception

  Creates new ConfigLoader.

  Throws:
    `java.lang.Exception`

Method Detail

### getDelegate

    public ConfigLoaderDelegate getDelegate()

  Returns the delegate.

  Returns:
    ConfigLoaderDelegate

### loadDomains

    public boolean loadDomains(java.io.InputStream in)

  Parses XML input, invoking delegate methods to interpret loaded XML.

  Parameters:
    `in` -
  Returns:
    boolean

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2006 Apache.org All Rights Reserved.