Interface Factory

    • Method Detail

      • getProperty

        Object getProperty​(String key)
        Gets the value of a read-only property that applies to all objects returned by this Factory.
        Parameters:
        key - the name of the property to get
        Returns:
        returns the value associated with this property or null if none is found
      • getFeature

        Object getFeature​(String key)
        Gets the value of a feature used by this Factory.
        Parameters:
        key - the key for the feature
        Returns:
        returns the current value of the feature
        Throws:
        IllegalArgumentException - if the underlying implementation does not recognize the feature
      • setFeature

        void setFeature​(String key,
                        Object value)
        Sets a feature for new Objects returned by this Factory.
        Parameters:
        key - the key for the feature
        value - the value of the feature
        Throws:
        IllegalArgumentException - if the underlying implementation does not recognize the feature