Interface Factory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Gets the description for this Factory
      java.lang.String getDisplayName()
      Gets the display name for this Factory
      java.lang.Object getFeature​(java.lang.String key)
      Gets the value of a feature used by this Factory
      java.lang.String getIdentifier()
      Gets the identifier for this Factory
      java.lang.Object getProperty​(java.lang.String key)
      Gets the value of a read-only property that applies to all objects returned by this Factory.
      void setFeature​(java.lang.String key, java.lang.Object value)
      Sets a feature for new Objects returned by this Factory
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Method Detail

      • getIdentifier

        java.lang.String getIdentifier()
        Gets the identifier for this Factory
        Returns:
        returns the identifier for this Factory
      • getDisplayName

        java.lang.String getDisplayName()
        Gets the display name for this Factory
        Returns:
        returns the display name for this Factory
      • getDescription

        java.lang.String getDescription()
        Gets the description for this Factory
        Returns:
        returns the description for this Factory
      • getProperty

        java.lang.Object getProperty​(java.lang.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

        java.lang.Object getFeature​(java.lang.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:
        java.lang.IllegalArgumentException - if the underlying implementation does not recognize the feature
      • setFeature

        void setFeature​(java.lang.String key,
                        java.lang.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:
        java.lang.IllegalArgumentException - if the underlying implementation does not recognize the feature