Package org.omegat.convert.v20to21.data
Class OneFilter
- java.lang.Object
-
- org.omegat.convert.v20to21.data.OneFilter
-
public class OneFilter extends java.lang.ObjectWrapper 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.StringgetClassName()Returns the class name of the filter.Instance[]getInstance()Returns all the instances of the filter.java.io.SerializablegetOptions()Returns filter's options.booleanisOn()Returns whether the filter is on (used by OmegaT).booleanisSourceEncodingVariable()Returns whether the filter's source encoding can be varied by userbooleanisTargetEncodingVariable()Returns whether the filter's target encoding can be varied by uservoidsetClassName(java.lang.String value)Sets the class name of the filter.voidsetInstance(Instance[] instance)Sets all the instances of the filter at once.voidsetOn(boolean value)Sets whether the filter is on (used by OmegaT).voidsetOptions(java.io.Serializable options)Setter for property options.voidsetSourceEncodingVariable(boolean value)Sets whether the filter's source encoding can be varied by uservoidsetTargetEncodingVariable(boolean value)Sets whether the filter's target encoding can be varied by user
-
-
-
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.
-
-