Package net.sf.okapi.filters.xmlstream
Class Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.filters.abstractmarkup.AbstractMarkupParameters
-
- net.sf.okapi.filters.xmlstream.Parameters
-
- All Implemented Interfaces:
Cloneable,IParameters,ISimplifierRulesParameters
public class Parameters extends AbstractMarkupParameters
IParametersbased facade around the YAML configuration format.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PARAMETERSstatic StringDITA_PARAMETERSstatic StringIDD_ESCAPED_HTMLstatic StringPROPERTY_XML_PARAMETERSstatic StringXML_CDATA_ESCAPED_HTMLstatic StringXML_ESCAPED_HTML-
Fields inherited from class net.sf.okapi.common.BaseParameters
path
-
Fields inherited from interface net.sf.okapi.common.ISimplifierRulesParameters
SIMPLIFIERRULES, SIMPLIFIERRULES_DISPLAY_NAME, SIMPLIFIERRULES_SHORT_DESC
-
-
Constructor Summary
Constructors Constructor Description Parameters()XMLStreamFilter Parameters.Parameters(File configFile)Parameters(String configAsString)Parameters(URL configPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreset()Reset the parameters to their default values.-
Methods inherited from class net.sf.okapi.filters.abstractmarkup.AbstractMarkupParameters
fromString, getBoolean, getEditorTitle, getInteger, getSimplifierRules, getString, getTaggedConfig, setBoolean, setEditorTitle, setInteger, setSimplifierRules, setString, setTaggedConfig, toString, validateSimplifierRules
-
Methods inherited from class net.sf.okapi.common.BaseParameters
getParametersDescription, getPath, load, load, save, setPath
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.IParameters
copy
-
-
-
-
Field Detail
-
DEFAULT_PARAMETERS
public static final String DEFAULT_PARAMETERS
- See Also:
- Constant Field Values
-
DITA_PARAMETERS
public static final String DITA_PARAMETERS
- See Also:
- Constant Field Values
-
PROPERTY_XML_PARAMETERS
public static final String PROPERTY_XML_PARAMETERS
- See Also:
- Constant Field Values
-
XML_ESCAPED_HTML
public static final String XML_ESCAPED_HTML
- See Also:
- Constant Field Values
-
XML_CDATA_ESCAPED_HTML
public static final String XML_CDATA_ESCAPED_HTML
- See Also:
- Constant Field Values
-
IDD_ESCAPED_HTML
public static final String IDD_ESCAPED_HTML
- See Also:
- Constant Field Values
-
-
Method Detail
-
reset
public void reset()
Description copied from interface:IParametersReset the parameters to their default values.- Specified by:
resetin interfaceIParameters- Overrides:
resetin classAbstractMarkupParameters
-
-