public class GeometryFunctionRegistry extends Object
GeometryFunctions.| Constructor and Description |
|---|
GeometryFunctionRegistry() |
GeometryFunctionRegistry(Class clz) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Class geomFuncClass)
Adds functions for all the static methods in the given class.
|
void |
add(Collection funcs) |
void |
add(GeometryFunction func)
Adds a function if it does not currently
exist in the registry, or replaces the existing one
with the same signature.
|
void |
add(String geomFuncClassname)
Adds functions for all the static methods in the given class.
|
static GeometryFunctionRegistry |
create() |
List |
createFunctions(Class functionClass)
Create
GeometryFunctions for all the static
methods in the given class |
GeometryFunction |
find(String name)
Finds the first function which matches the given name.
|
GeometryFunction |
find(String name,
int argCount)
Finds the first function which matches the given name and argument count.
|
static boolean |
hasGeometryResult(GeometryFunction func) |
public GeometryFunctionRegistry()
public GeometryFunctionRegistry(Class clz)
public static GeometryFunctionRegistry create()
public static boolean hasGeometryResult(GeometryFunction func)
public void add(Class geomFuncClass)
geomFuncClass - public void add(String geomFuncClassname) throws ClassNotFoundException
geomFuncClassname - the name of the class to load and extract functions fromClassNotFoundExceptionpublic void add(Collection funcs)
public List createFunctions(Class functionClass)
GeometryFunctions for all the static
methods in the given classfunctionClass - public void add(GeometryFunction func)
func - a functionpublic GeometryFunction find(String name, int argCount)
name - public GeometryFunction find(String name)
name - Copyright © 2025. All rights reserved.