01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.jetspeed.om.page;
18:
19: /**
20: * <p>
21: * Link
22: * </p>
23: * <p>
24: *
25: * </p>
26: * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
27: * @version $Id: Link.java 516448 2007-03-09 16:25:47Z ate $
28: *
29: */
30: public interface Link extends Document {
31: String DOCUMENT_TYPE = ".link";
32:
33: /**
34: * Returns the name of the skin associated to this link
35: */
36: String getSkin();
37:
38: /**
39: * Defines the skin for this link. This skin should be
40: * known by the portal.
41: *
42: * @param skinName the name of the new skin applied to this link
43: */
44: void setSkin(String skinName);
45:
46: /**
47: * @param url The url to set.
48: */
49: void setUrl(String url);
50:
51: /**
52: * @return Returns the target.
53: */
54: String getTarget();
55:
56: /**
57: * @param target The target to set.
58: */
59: void setTarget(String target);
60: }
|