Permalink
Browse files

Minor update for JavaDocs

  • Loading branch information...
1 parent 75435c5 commit 8c3d785f2833fc37f44bc7c806eb6cb32e2e09eb @bobbywarner bobbywarner committed Oct 8, 2012
@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package grails.web;
import java.lang.annotation.ElementType;
@@ -19,6 +19,12 @@
import org.apache.commons.lang.StringUtils;
+/**
+ * URL converter that allows for camel case URLs
+ *
+ * @author Jeff Brown
+ * @since 2.0
+ */
public class CamelCaseUrlConverter implements UrlConverter {
public String toUrlElement(String propertyOrClassName) {
@@ -1,8 +1,28 @@
+/*
+ * Copyright 2011 SpringSource.
+ *
+ * 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 grails.web;
import org.apache.commons.lang.StringUtils;
-
+/**
+ * URL converter that allows for hyphenated URLs
+ *
+ * @author Jeff Brown
+ * @since 2.0
+ */
public class HyphenatedUrlConverter implements UrlConverter {
public String toUrlElement(String propertyOrClassName) {
@@ -15,6 +15,12 @@
*/
package grails.web;
+/**
+ * URL converter interface for conversion strategies to implement
+ *
+ * @author Jeff Brown
+ * @since 2.0
+ */
public interface UrlConverter {
String BEAN_NAME = "grailsUrlConverter";

0 comments on commit 8c3d785

Please sign in to comment.