KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > pluto > portalImpl > aggregation > RowFragment


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.aggregation;
21
22 import javax.servlet.ServletConfig JavaDoc;
23
24 import org.apache.pluto.portalImpl.core.PortalURL;
25
26 public class RowFragment extends AbstractFragmentContainer
27 {
28
29     public RowFragment(String JavaDoc id,
30                        ServletConfig JavaDoc config,
31                        org.apache.pluto.portalImpl.aggregation.Fragment parent,
32                        org.apache.pluto.portalImpl.om.page.Fragment fragDesc,
33                        org.apache.pluto.portalImpl.aggregation.navigation.Navigation navigation)
34     throws Exception JavaDoc
35     {
36         super(id, config, parent, fragDesc, navigation);
37     }
38
39     public void createURL(PortalURL url)
40     {
41         getParent().createURL(url);
42         url.addLocalNavigation(getId());
43     }
44
45     public boolean isPartOfURL(PortalURL url)
46     {
47         return true;
48     }
49
50 }
51
Popular Tags