Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 7addae47d9096283d96cce4e6cba9df30091394e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/*******************************************************************************
 * Copyright (c) 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional;

import java.util.List;

import org.eclipse.wst.xml.core.internal.contentmodel.CMDocument;

public interface TLDDocument extends CMDocument {

	String CM_KIND = "Content Model Kind"; //$NON-NLS-1$
	String JSP_TLD = "JSP Tag Library Descriptor"; //$NON-NLS-1$

	/**
	 * @since JSP 2.0
	 * 
	 * @return
	 */
	String getBaseLocation();
	
	/**
	 * @return String - The contents of the "description" element of a JSP 1.2 tag library descriptor; a simple string describing the "use" of this taglib, should be user discernable.
	 * @since JSP 1.2
	 */
	String getDescription();

	/**
	 * @return String - The contents of the "display-name" element of a JSP 1.2 tag library descriptor; it is a short name that is intended to be displayed by tools
	 * @since JSP 1.2
	 */
	String getDisplayName();

	/**
	 * @return List - A list of extension elements describing the tag library
	 * @since JSP 2.0
	 */
	List getExtensions();
	
	/**
	 * @return List - A list of TLDFunctions describing the declared functions
	 * @since JSP 2.0
	 */
	List getFunctions();
	
	/**
	 * @return String - The contents of the "info" element of a JSP 1.1 tag library descriptor; a simple string describing the "use" of this taglib, should be user discernable.
	 * @since JSP 1.1
	 */
	String getInfo();

	/**
	 * @return String - The version of JSP the tag library depends upon
	 * @since JSP 1.1
	 */
	String getJspversion();

	/**
	 * @return String - The contents of the "large-icon" element of a JSP 1.2 tag library descriptor; optional large-icon that can be used by tools
	 * @since JSP 1.2
	 */
	String getLargeIcon();

	/**
	 * @since JSP 1.2
	 * @return List - a List of TLDListeners
	 */
	List getListeners();

	/**
	 * @return String - A simple default short name that could be used by a JSP authoring tool to create names with a mnemonic value; for example, it may be used as the preferred prefix value in taglib directives
	 * @since JSP 1.1
	 */
	String getShortname();

	/**
	 * @return String - The contents of the "small-icon" element of a JSP 1.2 tag library descriptor; optional small-icon that can be used by tools
	 * @since JSP 1.2
	 */
	String getSmallIcon();

	/**
	 * @return String - The version of the tag library (it's implementation)
	 * @since JSP 1.1
	 */
	String getTlibversion();

	/**
	 * @return String - the URI declared within the descriptor
	 * @since JSP 1.1
	 */
	String getUri();

	/**
	 * @since JSP 1.2
	 */
	TLDValidator getValidator();
}

Back to the top