/*
 * Copyright 2007 Andrew Wills
 *
 * 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 org.danann.cernunnos;

/**
 * Provides static access to some very common attribute names that facilitate 
 * elegant cooperation between <code>Task</code> implementations.
 */
public final class Attributes {

	/**
	 * Use this name to create a request attribute containing a 
	 * <code>java.lang.String</code> that describes a valid URL.  Many 
	 * <code>Task</code> implementations will use this URL to resolve relative 
	 * paths.
	 */
	public static final String CONTEXT = "Attributes.CONTEXT";
	
	/**
	 * Use this name to create a request attribute containing a 
	 * <code>java.lang.String</code> that represents the location of a resource.
	 */
	public static final String LOCATION = "Attributes.LOCATION";
	
	/**
	 * Use this name to create a request attribute containing an 
	 * <code>org.dom4j.Node</code>.
	 */
	public static final String NODE = "Attributes.NODE";
	
	/**
	 * Use this name to create a request attribute containing a 
	 * <code>java.io.PrintStream</code>.
	 */
	public static final String STREAM = "Attributes.STREAM";
	
	/**
	 * Use this name to create a request attribute containing a 
	 * <code>java.lang.String</code>.
	 */
	public static final String STRING = "Attributes.STREAM";
	
	/**
	 * Use this name to create a request attribute containing a 
	 * <code>java.lang.Object</code>.
	 */
	public static final String OBJECT = "Attributes.OBJECT";
	
}

/*
 * Copyright 2007 Andrew Wills
 *
 * 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 org.danann.cernunnos;

/**
 * Provides static access to some very common attribute names that facilitate
 * elegant cooperation between <code>Task</code> implementations.
 */
public final class Attributes {

	/**
	 * Use this name to create a request attribute containing a
	 * <code>java.lang.String</code> that describes a valid URL.  Many
	 * <code>Task</code> implementations will use this URL to resolve relative
	 * paths.
	 */
	public static final String CONTEXT = "Attributes.CONTEXT";

	/**
	 * Use this name to create a request attribute containing a
	 * <code>java.lang.String</code> that represents the location of a resource.
	 */
	public static final String LOCATION = "Attributes.LOCATION";

	/**
	 * Use this name to create a request attribute containing an
	 * <code>org.dom4j.Node</code>.
	 */
	public static final String NODE = "Attributes.NODE";

	/**
	 * Use this name to create a request attribute containing a
	 * <code>java.io.PrintStream</code>.
	 */
	public static final String STREAM = "Attributes.STREAM";

	/**
	 * Use this name to create a request attribute containing a
	 * <code>java.lang.String</code>.
	 */
	public static final String STRING = "Attributes.STRING";

	/**
	 * Use this name to create a request attribute containing a
	 * <code>java.lang.Object</code>.
	 */
	public static final String OBJECT = "Attributes.OBJECT";

}

Fix copy-paste error.