myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dennisby...@apache.org
Subject svn commit: r413831 - in /myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp: UIComponentClassicTagBase.java UIComponentELTag.java UIComponentTagBase.java
Date Tue, 13 Jun 2006 08:12:02 GMT
Author: dennisbyrne
Date: Tue Jun 13 01:12:01 2006
New Revision: 413831

URL: http://svn.apache.org/viewvc?rev=413831&view=rev
Log:
closer to binary compatibility

Added:
    myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentClassicTagBase.java
    myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentELTag.java
    myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentTagBase.java

Added: myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentClassicTagBase.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentClassicTagBase.java?rev=413831&view=auto
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentClassicTagBase.java
(added)
+++ myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentClassicTagBase.java
Tue Jun 13 01:12:01 2006
@@ -0,0 +1,296 @@
+package javax.faces.webapp;
+
+import java.io.IOException;
+import java.util.List;
+
+import javax.faces.component.UIComponent;
+import javax.faces.component.UIOutput;
+import javax.faces.context.FacesContext;
+import javax.servlet.jsp.JspException;
+import javax.servlet.jsp.JspWriter;
+import javax.servlet.jsp.PageContext;
+import javax.servlet.jsp.tagext.BodyContent;
+import javax.servlet.jsp.tagext.BodyTag;
+import javax.servlet.jsp.tagext.JspIdConsumer;
+import javax.servlet.jsp.tagext.Tag;
+
+/**
+ * @author Dennis Byrne
+ * @since 1.2
+ */
+
+public abstract class UIComponentClassicTagBase extends UIComponentTagBase
+        implements JspIdConsumer, BodyTag
+{
+
+    protected int getDoStartValue() throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected int getDoEndValue() throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected void encodeBegin() throws IOException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected void encodeChildren() throws IOException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected void encodeEnd() throws IOException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public void setPageContext(PageContext pageContext)
+    {
+
+        throw new UnsupportedOperationException("1.2");
+
+    }
+
+    public Tag getParent()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public void setParent(Tag parent)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected void setupResponseWriter()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private UIComponent createChild(FacesContext context, UIComponent parent,
+            String componentId) throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+
+    }
+
+    private UIComponent createFacet(FacesContext context, UIComponent parent,
+            String name, String newId) throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private UIComponent getChild(UIComponent component, String componentId)
+    {
+        throw new UnsupportedOperationException("1.2");
+
+    }
+
+    protected UIComponent findComponent(FacesContext context)
+            throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+
+    }
+
+    public static UIComponentClassicTagBase getParentUIComponentClassicTagBase(
+            PageContext context)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected int getIndexOfNextChildTag()
+    {
+
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected void addChild(UIComponent child)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected void addFacet(String name)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private void popUIComponentClassicTagBase()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private void pushUIComponentClassicTagBase()
+    {
+        throw new UnsupportedOperationException("1.2");
+
+    }
+
+    private void removeOldChildren()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private void removeOldFacets()
+    {
+
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected UIComponent createVerbatimComponentFromBodyContent()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected UIOutput createVerbatimComponent()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected void addVerbatimBeforeComponent(
+            UIComponentClassicTagBase parentTag, UIComponent verbatim,
+            UIComponent component)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected void addVerbatimAfterComponent(
+            UIComponentClassicTagBase parentTag, UIComponent verbatim,
+            UIComponent component)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public int doStartTag() throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public int doEndTag() throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public void release()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected int getDoAfterBodyValue() throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public void setBodyContent(BodyContent bodyContent)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public JspWriter getPreviousOut()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public BodyContent getBodyContent()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public void doInitBody() throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public int doAfterBody() throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public void setId(String id)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected String getId()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected String getFacesJspId()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private boolean isDuplicateId(String componentId)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private String generateIncrementedId(String componentId)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected List<String> getCreatedComponents()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private String createId() throws JspException
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public void setJspId(String id)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private void updatePreviousJspIdAndIteratorStatus(String id)
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    private boolean isIncludedOrForwarded()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    public String getJspId()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected abstract void setProperties(UIComponent component);
+
+    protected abstract UIComponent createComponent(FacesContext context,
+            String newId) throws JspException;
+
+    protected abstract boolean hasBinding();
+
+    public UIComponent getComponentInstance()
+    {
+        throw new UnsupportedOperationException("1.2");
+
+    }
+
+    public boolean getCreated()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected FacesContext getFacesContext()
+    {
+        throw new UnsupportedOperationException("1.2");
+
+    }
+
+    protected String getFacetName()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+}

Added: myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentELTag.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentELTag.java?rev=413831&view=auto
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentELTag.java
(added)
+++ myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentELTag.java
Tue Jun 13 01:12:01 2006
@@ -0,0 +1,53 @@
+package javax.faces.webapp;
+
+import javax.el.ELContext;
+import javax.el.ValueExpression;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.servlet.jsp.tagext.Tag;
+
+/**
+ * @author Dennis Byrne
+ * @since 1.2
+ */
+
+public abstract class UIComponentELTag extends UIComponentClassicTagBase
+        implements Tag
+{
+
+    protected UIComponent createComponent(FacesContext context, String newId)
+    {
+        throw new UnsupportedOperationException("");
+    }
+
+    protected ELContext getELContext()
+    {
+        throw new UnsupportedOperationException("");
+    }
+
+    protected boolean hasBinding()
+    {
+        throw new UnsupportedOperationException("");
+    }
+
+    public void release()
+    {
+        throw new UnsupportedOperationException("");
+    }
+
+    public void setBinding(ValueExpression binding)
+    {
+        throw new UnsupportedOperationException("");
+    }
+
+    protected void setProperties(UIComponent component)
+    {
+        throw new UnsupportedOperationException("");
+    }
+
+    public void setRendered(ValueExpression rendered)
+    {
+        throw new UnsupportedOperationException("");
+    }
+
+}

Added: myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentTagBase.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentTagBase.java?rev=413831&view=auto
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentTagBase.java
(added)
+++ myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentTagBase.java
Tue Jun 13 01:12:01 2006
@@ -0,0 +1,38 @@
+package javax.faces.webapp;
+
+import javax.el.ELContext;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.servlet.jsp.tagext.JspTag;
+
+/**
+ * @author Dennis Byrne
+ * @since 1.2
+ */
+
+public abstract class UIComponentTagBase extends Object implements JspTag
+{
+
+    protected abstract void addChild(UIComponent child);
+
+    protected abstract void addFacet(String name);
+
+    public abstract UIComponent getComponentInstance();
+
+    public abstract String getComponentType();
+
+    public abstract boolean getCreated();
+
+    protected ELContext getELContext()
+    {
+        throw new UnsupportedOperationException("1.2");
+    }
+
+    protected abstract FacesContext getFacesContext();
+
+    protected abstract int getIndexOfNextChildTag();
+
+    public abstract String getRendererType();
+
+    public abstract void setId(String id);
+}



Mime
View raw message