View Javadoc

1   /*
2    * Copyright 2003,2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  /* 
17  
18   */
19  
20  package org.apache.pluto.portalImpl.om.servlet.impl;
21  
22  import java.util.Locale;
23  
24  import org.apache.pluto.portalImpl.om.common.AbstractSupportSet;
25  import org.apache.pluto.portalImpl.om.common.Support;
26  
27  public class TagDefinitionSet extends AbstractSupportSet implements java.io.Serializable, Support {
28  
29      // DescriptionSet implemenation.
30      public TagDefinition get(Locale locale)
31      {        
32  	return null;
33      }
34  
35      // Support implementation.
36      
37      /* (non-Javadoc)
38       * @see org.apache.pluto.portalImpl.om.common.Support#postBuild(Object)
39       */
40      public void postBuild(Object parameter) throws Exception {
41      }
42  
43      /* (non-Javadoc)
44       * @see org.apache.pluto.portalImpl.om.common.Support#postLoad(Object)
45       */
46      public void postLoad(Object parameter) throws Exception {
47      }
48  
49      /* (non-Javadoc)
50       * @see org.apache.pluto.portalImpl.om.common.Support#postStore(Object)
51       */
52      public void postStore(Object parameter) throws Exception {
53      }
54  
55      /* (non-Javadoc)
56       * @see org.apache.pluto.portalImpl.om.common.Support#preBuild(Object)
57       */
58      public void preBuild(Object parameter) throws Exception {
59      }
60  
61      /* (non-Javadoc)
62       * @see org.apache.pluto.portalImpl.om.common.Support#preStore(Object)
63       */
64      public void preStore(Object parameter) throws Exception {
65      }
66  
67      // additional methods
68  
69  
70      public String toString()
71      {
72          return toString(0);
73      }
74  
75      public String toString(int indent)
76      {
77  /*
78          StringBuffer buffer = new StringBuffer(50);
79          StringUtils.newLine(buffer,indent);
80          buffer.append(getClass().toString());
81          buffer.append(": ");
82          Iterator iterator = this.iterator();
83          while (iterator.hasNext()) {
84              buffer.append(((TagDefinition)iterator.next()).toString(indent+2));
85          }
86          return buffer.toString();
87  */
88  	return null;
89      }
90  
91  }