vgritsenko 02/02/28 07:08:51 Modified: src/java/org/apache/cocoon/environment Request.java src/java/org/apache/cocoon/selection HostSelector.java Log: javadoc fixes Revision Changes Path 1.6 +2 -2 xml-cocoon2/src/java/org/apache/cocoon/environment/Request.java Index: Request.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/environment/Request.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Request.java 22 Feb 2002 07:03:49 -0000 1.5 +++ Request.java 28 Feb 2002 15:08:51 -0000 1.6 @@ -61,7 +61,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Davanum Srinivas</a> * @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a> * @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a> - * @version CVS $Id: Request.java,v 1.5 2002/02/22 07:03:49 cziegeler Exp $ + * @version CVS $Id: Request.java,v 1.6 2002/02/28 15:08:51 vgritsenko Exp $ * */ @@ -755,7 +755,7 @@ * * * - * @param <code>true</code> to create + * @param create <code>true</code> to create * a new session for this request if necessary; * <code>false</code> to return <code>null</code> * if there's no current session 1.5 +18 -14 xml-cocoon2/src/java/org/apache/cocoon/selection/HostSelector.java Index: HostSelector.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/selection/HostSelector.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- HostSelector.java 22 Feb 2002 07:03:54 -0000 1.4 +++ HostSelector.java 28 Feb 2002 15:08:51 -0000 1.5 @@ -67,23 +67,27 @@ * A <code>Selector</code> that matches a string from within the host parameter * of the HTTP request. * - * <map:selector name="host" src="org.apache.cocoon.selection.HostSelectorFactory"> - * <host name="uk-site" value="www.foo.co.uk"/> - * </map:selector> - * - * - * <map:select type="host"> - * <map:when test="uk-site"> - * <map:transform src="stylesheets/page/uk.xsl"/> - * </map:when> - * <map:otherwise> - * <map:transform src="stylesheets/page/us.xsl"/> - * </map:otherwise> - * </map:select> + * <p>Configuration: + * <pre> + * <map:selector name="host" src="org.apache.cocoon.selection.HostSelectorFactory"> + * <host name="uk-site" value="www.foo.co.uk"/> + * </map:selector> + * </pre> + * <p>Usage: + * <pre> + * <map:select type="host"> + * <map:when test="uk-site"> + * <map:transform src="stylesheets/page/uk.xsl"/> + * </map:when> + * <map:otherwise> + * <map:transform src="stylesheets/page/us.xsl"/> + * </map:otherwise> + * </map:select> + * </pre> * * @author <a href="mailto:[EMAIL PROTECTED]">Colin Britton</a> * @author <a href="mailto:[EMAIL PROTECTED]">Sylvain Wallez</a> - * @version CVS $Id: HostSelector.java,v 1.4 2002/02/22 07:03:54 cziegeler Exp $ + * @version CVS $Id: HostSelector.java,v 1.5 2002/02/28 15:08:51 vgritsenko Exp $ */ public class HostSelector extends NamedPatternsSelector {
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]