View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package javax.faces.application;
20  
21  import java.net.MalformedURLException;
22  import java.net.URL;
23  import java.util.List;
24  import java.util.Map;
25  import javax.faces.FacesWrapper;
26  import javax.faces.context.FacesContext;
27  
28  /**
29   * @since 2.2
30   */
31  public abstract class NavigationCaseWrapper extends NavigationCase
32      implements FacesWrapper<NavigationCase>
33  {
34      public NavigationCaseWrapper()
35      {
36          super(null, null, null, null, null, null, false, false);
37      }
38  
39      public boolean equals(Object o)
40      {
41          return getWrapped().equals(o);
42      }
43  
44      public int hashCode()
45      {
46          return getWrapped().hashCode();
47      }
48  
49      public URL getActionURL(FacesContext context) throws MalformedURLException
50      {
51          return getWrapped().getActionURL(context);
52      }
53  
54      public Boolean getCondition(FacesContext context)
55      {
56          return getWrapped().getCondition(context);
57      }
58  
59      public String getFromAction()
60      {
61          return getWrapped().getFromAction();
62      }
63  
64      public String getFromOutcome()
65      {
66          return getWrapped().getFromOutcome();
67      }
68  
69      public String getFromViewId()
70      {
71          return getWrapped().getFromViewId();
72      }
73  
74      public URL getBookmarkableURL(FacesContext context) throws MalformedURLException
75      {
76          return getWrapped().getBookmarkableURL(context);
77      }
78  
79      public URL getResourceURL(FacesContext context) throws MalformedURLException
80      {
81          return getWrapped().getResourceURL(context);
82      }
83  
84      public URL getRedirectURL(FacesContext context) throws MalformedURLException
85      {
86          return getWrapped().getRedirectURL(context);
87      }
88  
89      public Map<String, List<String>> getParameters()
90      {
91          return getWrapped().getParameters();
92      }
93  
94      public String getToViewId(FacesContext context)
95      {
96          return getWrapped().getToViewId(context);
97      }
98  
99      public boolean hasCondition()
100     {
101         return getWrapped().hasCondition();
102     }
103 
104     public boolean isIncludeViewParams()
105     {
106         return getWrapped().isIncludeViewParams();
107     }
108 
109     public boolean isRedirect()
110     {
111         return getWrapped().isRedirect();
112     }
113 
114     public String getToFlowDocumentId()
115     {
116         return getWrapped().getToFlowDocumentId();
117     }
118 
119     public String toString()
120     {
121         return getWrapped().toString();
122     }
123     
124     public abstract NavigationCase getWrapped();
125 }