myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sless...@apache.org
Subject svn commit: r698767 - in /myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render: FacesRenderKit.java FacesRenderer.java
Date Wed, 24 Sep 2008 22:58:26 GMT
Author: slessard
Date: Wed Sep 24 15:58:25 2008
New Revision: 698767

URL: http://svn.apache.org/viewvc?rev=698767&view=rev
Log:
Added EDR2's javax.faces.render classes

Added:
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderKit.java
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderer.java

Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderKit.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderKit.java?rev=698767&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderKit.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderKit.java Wed
Sep 24 15:58:25 2008
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 javax.faces.render;
+
+/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:56:27 -0400 (mer., 17 sept. 2008) $
+ */
+public @interface FacesRenderKit
+{
+    /**
+     * The value of this annotation attribute is taken to be the <i>render-kit-id</i>
with which a reference to an
+     * instance of this class of {@link RenderKit} can be obtained by calling {@link
+     * RenderKitFactory.getRenderKit(javax.faces.context.FacesContext, java.lang.String)}.
+     */
+    public String value();
+}

Added: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderer.java?rev=698767&view=auto
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderer.java (added)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/render/FacesRenderer.java Wed
Sep 24 15:58:25 2008
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 javax.faces.render;
+
+/**
+ * @author Simon Lessard (latest modification by $Author: slessard $)
+ * @version $Revision: 696523 $ $Date: 2008-09-24 18:52:14 -0400 (mer., 17 sept. 2008) $
+ */
+public @interface FacesRenderer
+{
+    /**
+     * The value of this annotation attribute is taken to be the <i>component-family</i>
which, in combination with
+     * {@link #rendererType()} can be used to obtain a reference to an instance of this {@link
Renderer} by calling
+     * {@link RenderKit.getRenderer(java.lang.String, java.lang.String)}.
+     */
+    public String componentFamily();
+
+    /**
+     * The value of this annotation attribute is taken to be the <i>renderer-type</i>
which, in combination with
+     * {@link #componentFamily()} can be used to obtain a reference to an instance of this
{@link Renderer} by calling
+     * {@link RenderKit.getRenderer(java.lang.String, java.lang.String)}.
+     */
+    public String rendererType();
+
+    /**
+     * The value of this annotation attribute is taken to be the <i>render-kit-id</i>
in which an instance of this class
+     * of {@link Renderer} must be installed.
+     */
+    public String renderKitId() default "";
+}



Mime
View raw message