freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [16/17] incubator-freemarker git commit: FREEMARKER-55: Added getters to TaglibFactory
Date Thu, 06 Jul 2017 08:19:07 GMT
FREEMARKER-55: Added getters to TaglibFactory


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/32a29618
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/32a29618
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/32a29618

Branch: refs/heads/3
Commit: 32a29618a3adfc2d4b865a2d07e717dc00c5bf09
Parents: a958149
Author: ddekany <ddekany@apache.org>
Authored: Thu Jul 6 10:16:42 2017 +0200
Committer: ddekany <ddekany@apache.org>
Committed: Thu Jul 6 10:16:42 2017 +0200

----------------------------------------------------------------------
 .../freemarker/servlet/jsp/TaglibFactory.java   | 28 ++++++++++++++++++++
 1 file changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/32a29618/freemarker-servlet/src/main/java/org/apache/freemarker/servlet/jsp/TaglibFactory.java
----------------------------------------------------------------------
diff --git a/freemarker-servlet/src/main/java/org/apache/freemarker/servlet/jsp/TaglibFactory.java
b/freemarker-servlet/src/main/java/org/apache/freemarker/servlet/jsp/TaglibFactory.java
index 297fef2..94b151c 100644
--- a/freemarker-servlet/src/main/java/org/apache/freemarker/servlet/jsp/TaglibFactory.java
+++ b/freemarker-servlet/src/main/java/org/apache/freemarker/servlet/jsp/TaglibFactory.java
@@ -360,6 +360,34 @@ public class TaglibFactory implements TemplateHashModel {
         return false;
     }
 
+    /**
+     * See {@link Builder#getMetaInfTldSources()}
+     */
+    public ServletContext getServletContext() {
+        return servletContext;
+    }
+
+    /**
+     * See {@link Builder#getObjectWrapper()}
+     */
+    public ObjectWrapper getObjectWrapper() {
+        return objectWrapper;
+    }
+
+    /**
+     * See {@link Builder#getMetaInfTldSources()}
+     */
+    public List<? extends MetaInfTldSource> getMetaInfTldSources() {
+        return metaInfTldSources;
+    }
+
+    /**
+     * See {@link Builder#getClasspathTlds()}
+     */
+    public List<String> getClasspathTlds() {
+        return classpathTlds;
+    }
+
     private TldLocation getExplicitlyMappedTldLocation(final String uri) throws SAXException,
IOException,
             TaglibGettingException {
         TldLocation tldLocation;


Mime
View raw message