diff options
author | cbateman | 2010-05-25 18:40:12 +0000 |
---|---|---|
committer | cbateman | 2010-05-25 18:40:12 +0000 |
commit | 709a9cfd416f694906e526acd4d44832be6e5aa7 (patch) | |
tree | 9a7c19333483db6552deb4b71a1588407e9cff68 /jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal | |
parent | 32d649746fe653ae117b64d06ea071940fb33354 (diff) | |
download | webtools.jsf-709a9cfd416f694906e526acd4d44832be6e5aa7.tar.gz webtools.jsf-709a9cfd416f694906e526acd4d44832be6e5aa7.tar.xz webtools.jsf-709a9cfd416f694906e526acd4d44832be6e5aa7.zip |
Fix for PMC_approved https://bugs.eclipse.org/bugs/show_bug.cgi?id=312345.
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/tld/IFaceletConstants.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/tld/IFaceletConstants.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/tld/IFaceletConstants.java new file mode 100644 index 000000000..a79c106a1 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/core/internal/tld/IFaceletConstants.java @@ -0,0 +1,49 @@ +package org.eclipse.jst.jsf.core.internal.tld; + +import java.util.Collections; +import java.util.HashSet; +import java.util.Set; + +/** + * Adds facelet-specific constants.* + * + * @author cbateman + * + */ +public final class IFaceletConstants implements ITLDConstants +{ + /** + * The set of all standard Facelet tag libraries. + */ + public static final Set<String> ALL_FACELET_TAGLIBS; + /** + * The uri for the composite taglib (Facelets only) + */ + public static final String URI_JSF_COMPOSITE = "http://java.sun.com/jsf/composite"; //$NON-NLS-1$ + /** + * The uri for the ui taglib (Facelets only) + */ + public static final String URI_JSF_UI = "http://java.sun.com/jsf/facelets"; //$NON-NLS-1$ + /** + * The uri for the jsf implementation of JSTL core tags (Facelets only) + */ + public static final String URI_JSF_JSTL_CORE = "http://java.sun.com/jsp/jstl/core"; //$NON-NLS-1$ + /** + * The uri for the jsf implementation of JSTL function tags (Facelets only) + */ + public static final String URI_JSF_JSTL_FUNCTIONS = "http://java.sun.com/jsp/jstl/functions"; //$NON-NLS-1$ + + static + { + Set<String> taglibs = new HashSet<String>(); + taglibs.add(URI_JSF_HTML); + taglibs.add(URI_JSF_CORE); + taglibs.add(URI_JSF_COMPOSITE); + taglibs.add(URI_JSF_UI); + taglibs.add(URI_JSF_JSTL_CORE); + taglibs.add(URI_JSF_JSTL_FUNCTIONS); + + ALL_FACELET_TAGLIBS = Collections.unmodifiableSet(taglibs); + } + +} |