com.arsdigita.persistence.pdl
Class ManifestSource
java.lang.Object
com.arsdigita.persistence.pdl.ManifestSource
- All Implemented Interfaces:
- PDLSource
- public class ManifestSource
- extends Object
- implements PDLSource
The ManifestSource class provides an implementation of the PDLSource
interface that loads object-relational metadata from a
manifest file that lists resources located in the java classpath.
- Version:
- $Revision: #6 $ $Date: 2004/04/07 $
- Author:
- Rafael H. Schloming <rhs@mit.edu>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
ManifestSource
public ManifestSource(String manifest,
PDLFilter filter,
ClassLoader loader)
- Constructs a new ManifestSource from the resources listed in
manifest
. This source will be filtered by
filter
, and loader
will be used to
load all resources.
- Parameters:
manifest
- a resource path referring to a manifest filefilter
- a filter on the names in the manifest fileloader
- the loader used to locate resources
ManifestSource
public ManifestSource(String manifest,
PDLFilter filter)
- Invokes
ManifestSource(String, PDLFilter, ClassLoader)
with the current context class loader.
- Parameters:
manifest
- a resource path referring to a manifest filefilter
- a filter on the names in the manifest file- See Also:
Thread.getContextClassLoader()
parse
public void parse(PDLCompiler compiler)
- An implementation of
PDLSource.parse(PDLCompiler)
that
parses the resource listed in the manifest passed to the
constructor of this ManifestSource.
- Specified by:
parse
in interface PDLSource
- Parameters:
compiler
- the compiler used to parse
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC