Class PropertyFunctionRegistry


  • public class PropertyFunctionRegistry
    extends java.lang.Object
    • Constructor Detail

      • PropertyFunctionRegistry

        public PropertyFunctionRegistry()
    • Method Detail

      • init

        public static void init()
      • chooseRegistry

        public static PropertyFunctionRegistry chooseRegistry​(Context context)
        Get the PropertyFunctionRegistry, defaulting to the global one
      • put

        public void put​(java.lang.String uri,
                        java.lang.Class<?> extClass)
        Insert an PropertyFunction class. Re-inserting with the same URI overwrites the old entry. New instance created on retrieval (auto-factory)
        Parameters:
        uri - String URI for the PropertyFunction
        extClass - The Java class
      • put

        public void put​(java.lang.String uri,
                        PropertyFunctionFactory factory)
        Insert an PropertyFunction factory. Re-inserting with the same URI overwrites the old entry.
        Parameters:
        uri - String URI for the PropertyFunction
        factory - Factory to make PropertyFunction instances
      • manages

        public boolean manages​(java.lang.String uri)
      • isRegistered

        public boolean isRegistered​(java.lang.String uri)
      • keys

        public java.util.Iterator<java.lang.String> keys()
        Iterate over URIs