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 org.apache.myfaces.renderkit;
20  import java.io.Serializable;
21  
22  import javax.el.ELContext;
23  import javax.el.ELException;
24  import javax.el.PropertyNotFoundException;
25  import javax.el.PropertyNotWritableException;
26  import javax.el.ValueExpression;
27  
28  public class NullReturningGetExpressionStringValueExpression extends ValueExpression implements Serializable {
29          private static final long serialVersionUID = 1L;
30  
31          @Override
32          public String getExpressionString() {
33              return null;
34          }
35  
36          @Override
37          public boolean isReadOnly(ELContext arg0) {
38              return true;
39          }
40  
41          @Override
42          public Class<?> getExpectedType() {
43              // TODO Auto-generated method stub
44              return null;
45          }
46  
47          @Override
48          public Class<?> getType(ELContext arg0)
49                  throws NullPointerException, PropertyNotFoundException,
50                  ELException {
51              // TODO Auto-generated method stub
52              return null;
53          }
54  
55          @Override
56          public Object getValue(ELContext arg0) throws NullPointerException,
57                  PropertyNotFoundException, ELException {
58              // TODO Auto-generated method stub
59              return null;
60          }
61  
62          @Override
63          public void setValue(ELContext arg0, Object arg1)
64                  throws NullPointerException, PropertyNotFoundException,
65                  PropertyNotWritableException, ELException {
66              // TODO Auto-generated method stub
67              
68          }
69  
70          @Override
71          public boolean equals(Object arg0) {
72              // TODO Auto-generated method stub
73              return false;
74          }
75  
76          @Override
77          public int hashCode() {
78              // TODO Auto-generated method stub
79              return 0;
80          }
81  
82          @Override
83          public boolean isLiteralText() {
84              // TODO Auto-generated method stub
85              return false;
86          }
87      }
88