public class Parameters extends AbstractGroupParameters implements IEditorDescriptionProvider
bufferpathSIMPLIFIERRULES, SIMPLIFIERRULES_DISPLAY_NAME, SIMPLIFIERRULES_SHORT_DESC| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramsDesc) |
int |
getBufferSize() |
boolean |
getCountInBatch() |
boolean |
getCountInBatchItems() |
boolean |
getCountInDocuments() |
boolean |
getCountInGroups() |
boolean |
getCountInSubDocuments() |
boolean |
getCountInTextUnits() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
protected void |
load(ParametersString buffer)
Load from buffer.
|
void |
reset()
Reset this parameters object to its default values.
|
protected void |
save(ParametersString buffer)
Save to buffer.
|
void |
setBufferSize(int bufferSize) |
void |
setCountInBatch(boolean countInBatch) |
void |
setCountInBatchItems(boolean countInBatchItems) |
void |
setCountInDocuments(boolean countInDocuments) |
void |
setCountInGroups(boolean countInGroups) |
void |
setCountInSubDocuments(boolean countInSubDocuments) |
fromString, getData, getSimplifierRules, loadFromResource, loadGroup, loadGroup, saveGroup, saveGroup, saveToResource, setSimplifierRules, toString, validateSimplifierRulesfromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setStringpublic boolean getCountInBatch()
public void setCountInBatch(boolean countInBatch)
public boolean getCountInBatchItems()
public void setCountInBatchItems(boolean countInBatchItems)
public boolean getCountInDocuments()
public void setCountInDocuments(boolean countInDocuments)
public boolean getCountInSubDocuments()
public void setCountInSubDocuments(boolean countInSubDocuments)
public boolean getCountInGroups()
public void setCountInGroups(boolean countInGroups)
public boolean getCountInTextUnits()
public void setBufferSize(int bufferSize)
public int getBufferSize()
protected void load(ParametersString buffer)
AbstractGroupParametersload in class AbstractGroupParameterspublic void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParametersprotected void save(ParametersString buffer)
AbstractGroupParameterssave in class AbstractGroupParameterspublic ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramsDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2022. All rights reserved.