public class Parameters extends StringParameters implements IEditorDescriptionProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
VALIDATIONTYPE_DTD |
static int |
VALIDATIONTYPE_RELAXNG |
static int |
VALIDATIONTYPE_SCHEMA |
bufferpath| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramDesc) |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
String |
getSchemaPath() |
boolean |
getUseFoundDTD() |
int |
getValidationType() |
boolean |
isValidate() |
void |
reset()
Reset this parameters object to its default values.
|
void |
setSchemaPath(String schemaPath) |
void |
setUseFoundDTD(boolean useFoundDTD) |
void |
setValidate(boolean validate) |
void |
setValidationType(int validationType) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic static final int VALIDATIONTYPE_DTD
public static final int VALIDATIONTYPE_SCHEMA
public static final int VALIDATIONTYPE_RELAXNG
public boolean isValidate()
public void setValidate(boolean validate)
public boolean getUseFoundDTD()
public void setUseFoundDTD(boolean useFoundDTD)
public String getSchemaPath()
public void setSchemaPath(String schemaPath)
public int getValidationType()
public void setValidationType(int validationType)
public 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 StringParameterspublic ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2021. All rights reserved.