Class OneFilter


  • public class OneFilter
    extends java.lang.Object
    Wrapper around a single file filter class Manages entries in XML config file and provides a table model.
    • Constructor Summary

      Constructors 
      Constructor Description
      OneFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()
      Returns the class name of the filter.
      Instance[] getInstance()
      Returns all the instances of the filter.
      java.io.Serializable getOptions()
      Returns filter's options.
      boolean isOn()
      Returns whether the filter is on (used by OmegaT).
      boolean isSourceEncodingVariable()
      Returns whether the filter's source encoding can be varied by user
      boolean isTargetEncodingVariable()
      Returns whether the filter's target encoding can be varied by user
      void setClassName​(java.lang.String value)
      Sets the class name of the filter.
      void setInstance​(Instance[] instance)
      Sets all the instances of the filter at once.
      void setOn​(boolean value)
      Sets whether the filter is on (used by OmegaT).
      void setOptions​(java.io.Serializable options)
      Setter for property options.
      void setSourceEncodingVariable​(boolean value)
      Sets whether the filter's source encoding can be varied by user
      void setTargetEncodingVariable​(boolean value)
      Sets whether the filter's target encoding can be varied by user
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OneFilter

        public OneFilter()
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Returns the class name of the filter.
      • setClassName

        public void setClassName​(java.lang.String value)
        Sets the class name of the filter.
      • getInstance

        public Instance[] getInstance()
        Returns all the instances of the filter.
      • setInstance

        public void setInstance​(Instance[] instance)
        Sets all the instances of the filter at once.
      • isSourceEncodingVariable

        public boolean isSourceEncodingVariable()
        Returns whether the filter's source encoding can be varied by user
      • setSourceEncodingVariable

        public void setSourceEncodingVariable​(boolean value)
        Sets whether the filter's source encoding can be varied by user
      • isTargetEncodingVariable

        public boolean isTargetEncodingVariable()
        Returns whether the filter's target encoding can be varied by user
      • setTargetEncodingVariable

        public void setTargetEncodingVariable​(boolean value)
        Sets whether the filter's target encoding can be varied by user
      • isOn

        public boolean isOn()
        Returns whether the filter is on (used by OmegaT).
      • setOn

        public void setOn​(boolean value)
        Sets whether the filter is on (used by OmegaT).
      • getOptions

        public java.io.Serializable getOptions()
        Returns filter's options.
        Returns:
        Filter options object.
      • setOptions

        public void setOptions​(java.io.Serializable options)
        Setter for property options.
        Parameters:
        options - New value of property options.