notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2186 - development/main/metro/composition/api/src/main/net/dpml/composition/data
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2186 - development/main/metro/composition/api/src/main/net/dpml/composition/data
- Date: Fri, 01 Apr 2005 03:13:43 -0500
Author: mcconnell AT dpml.net
Date: Fri Apr 1 03:13:39 2005
New Revision: 2186
Added:
development/main/metro/composition/api/src/main/net/dpml/composition/data/NullEntryDirective.java
Log:
Add a NullEntryDirective enabling the explicit declaration of a undefined
entry as part of a complete profile. This significantly simplifies the
assumptions during build time and lets us work on the basis of a one-to-one
mapping of request entry descriptors and their corresponding entry directives.
Added:
development/main/metro/composition/api/src/main/net/dpml/composition/data/NullEntryDirective.java
==============================================================================
--- (empty file)
+++
development/main/metro/composition/api/src/main/net/dpml/composition/data/NullEntryDirective.java
Fri Apr 1 03:13:39 2005
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2004 Stephen J. McConnell.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.dpml.composition.data;
+
+import net.dpml.lang.NullArgumentException;
+
+/**
+ * A null entry directive is a diective that declares that a operational
directive
+ * is required. Typically a null directive will be used when a context
management
+ * framrework is present enabling replace of the null directive with a
funtional
+ * directive.
+ *
+ * @author <a href="mailto:dev-dpml AT lists.ibiblio.org";>The Digital Product
Meta Library</a>
+ * @version $Id: EntryDirective.java 2119 2005-03-23 02:04:46Z
mcconnell AT dpml.net $
+ */
+public class NullEntryDirective extends EntryDirective
+{
+ /**
+ * Creation of a new null entry directive for a supplied entry key.
+ * @param key the entry key
+ * @exception NullArgumentException if the key is null.
+ */
+ public NullEntryDirective( final String key, final String urn )
+ throws NullArgumentException
+ {
+ super( key );
+ }
+
+}
- svn commit: r2186 - development/main/metro/composition/api/src/main/net/dpml/composition/data, mcconnell, 03/31/2005
Archive powered by MHonArc 2.6.24.