link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,7 @@
package org.apache.velocity.util;
import org.apache.velocity.context.Context;
public interface ContextAware {
void setContext(Context context);
}
@@ -0,0 +1,7 @@
package org.apache.velocity.util;
import org.apache.velocity.runtime.RuntimeServices;
public interface RuntimeServicesAware {
void setRuntimeServices(RuntimeServices runtimeServices);
}
@@ -0,0 +1,5 @@
package org.apache.velocity.util;
public interface TemplateNumber {
Number getAsNumber();
}
@@ -0,0 +1,5 @@
package org.apache.velocity.util.introspection;
public interface ChainableUberspector extends Uberspect {
void wrap(Uberspect uberspect);
}
@@ -0,0 +1,9 @@
package org.apache.velocity.util.introspection;
public interface IntrospectorCache {
void clear();
ClassMap get(Class cls);
ClassMap put(Class cls);
}
@@ -0,0 +1,5 @@
package org.apache.velocity.util.introspection;
public interface SecureIntrospectorControl {
boolean checkObjectExecutePermission(Class cls, String str);
}
@@ -0,0 +1,15 @@
package org.apache.velocity.util.introspection;
import java.util.Iterator;
public interface Uberspect {
Iterator getIterator(Object obj, Info info) throws Exception;
VelMethod getMethod(Object obj, String str, Object[] objArr, Info info) throws Exception;
VelPropertyGet getPropertyGet(Object obj, String str, Info info) throws Exception;
VelPropertySet getPropertySet(Object obj, String str, Object obj2, Info info) throws Exception;
void init();
}
@@ -0,0 +1,10 @@
package org.apache.velocity.util.introspection;
import org.apache.velocity.runtime.RuntimeLogger;
import org.apache.velocity.runtime.log.Log;
public interface UberspectLoggable {
void setLog(Log log);
void setRuntimeLogger(RuntimeLogger runtimeLogger);
}
@@ -0,0 +1,11 @@
package org.apache.velocity.util.introspection;
public interface VelMethod {
String getMethodName();
Class getReturnType();
Object invoke(Object obj, Object[] objArr) throws Exception;
boolean isCacheable();
}
@@ -0,0 +1,9 @@
package org.apache.velocity.util.introspection;
public interface VelPropertyGet {
String getMethodName();
Object invoke(Object obj) throws Exception;
boolean isCacheable();
}
@@ -0,0 +1,9 @@
package org.apache.velocity.util.introspection;
public interface VelPropertySet {
String getMethodName();
Object invoke(Object obj, Object obj2) throws Exception;
boolean isCacheable();
}