sboag 00/10/17 11:47:47
Modified: java/src/org/apache/xalan/processor CompiledTemplate.java
Log:
Added isCompiledTemplate() method.
Revision Changes Path
1.4 +8 -0
xml-xalan/java/src/org/apache/xalan/processor/CompiledTemplate.java
Index: CompiledTemplate.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/processor/CompiledTemplate.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- CompiledTemplate.java 2000/10/05 19:09:28 1.3
+++ CompiledTemplate.java 2000/10/17 18:47:44 1.4
@@ -25,6 +25,14 @@
// making that threadsafe is a bit ugly.
transient protected java.util.Hashtable m_nsThreadContexts=new
java.util.Hashtable();
+ /**
+ * Tell if this template is a compiled template.
+ */
+ public boolean isCompiledTemplate()
+ {
+ return true;
+ }
+
/** Accessor to let interpretive children query current namespace state.
* Note that unlike the interpreted version, the namespace state of this
* code changes over time... and that we need to maintain a unique state