org.docgene.parser.properties.PropertiesKeys
classorg.docgene.parser.properties.PropertiesDefaults
classorg.docgene.parser.properties.ConfigurationPropertiesParser
class, and return the parsed value of the property for its keyorg.docgene.main.LaunchOption
classorg.docgene.main.Configuration
classorg.docgene.main.LaunchOptionParser
classorg.docgene.parser.ConfigurationParser
classallowMediawiki
property to specify if the mediawiki format is allowed (it is a boolean value).
org.docgene.parser.properties.PropertiesKeys
class:public interface PropertiesKeys { public String ALLOW_MEDIAWIKI = "allowMediawiki"; }
org.docgene.parser.properties.PropertiesDefaults
class:public interface PropertiesDefaults { public boolean ALLOW_MEDIAWIKI_DEFAULT = false; }
org.docgene.parser.properties.ConfigurationPropertiesParser
class:public abstract class ConfigurationPropertiesParser implements PropertiesKeys { public boolean handleProperty(String key) { switch (key) { ... case ALLOW_MEDIAWIKI: return true; ... } } }We parse the property (we must return a boolean value):
public abstract class ConfigurationPropertiesParser implements PropertiesKeys { public Object parseProperty(String key, String value) { switch (key) { ... case ALLOW_MEDIAWIKI: return parseBooleanValue(value); ... } } }
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.