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

## org.apache.cayenne.jpa.conf
Class EntityMapXMLLoader

    java.lang.Object
      org.apache.cayenne.jpa.conf.EntityMapXMLLoader

    public class EntityMapXMLLoader

extends Object

`JpaEntityMap` loader that reads mapping information from the XML sources compatible with the JPA ORM schema.

Author:
  Andrus Adamchik

Field Summary
`protected ClassLoader` | `classLoader`

Constructor Summary
`EntityMapXMLLoader()`
`EntityMapXMLLoader(ClassLoader classLoader, boolean validateDescriptors)`

Method Summary
`JpaEntityMap` | `getEntityMap(URL resource)` Loads `JpaEntityMap` using provided class loader to locate the XML.

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

Field Detail

### classLoader

    protected ClassLoader classLoader

Constructor Detail

### EntityMapXMLLoader

    public EntityMapXMLLoader()

### EntityMapXMLLoader

    public EntityMapXMLLoader(ClassLoader classLoader,
                              boolean validateDescriptors)

Method Detail

### getEntityMap

    public JpaEntityMap getEntityMap(URL resource)

  Loads `JpaEntityMap` using provided class loader to locate the XML. Returns null if no mapping is found.

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

Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.