public interface CustomProperties
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Class<?>> |
getPropertiesTypes()
Return the Map of properties types.
|
java.lang.Object |
getProperty(java.lang.String key)
Return the value of a specified property.
|
default boolean |
hasProperty(java.lang.String key)
Return true if a specified property key is handled.
|
void |
reset()
Reset the properties.
|
void |
setClassLoader(java.lang.ClassLoader loader)
Set the ClassLoader used for the properties.
|
void |
setParser(org.docgene.parser.XMLErrorHandler parser)
Set the parent parser which can be notified if an exception is detected while settting the property.
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
Set the value of a specified property.
|
void |
setup()
Setup the class after all the properties have been set.
|
default boolean hasProperty(java.lang.String key)
key
- the property keyjava.util.Map<java.lang.String,java.lang.Class<?>> getPropertiesTypes()
void setProperty(java.lang.String key, java.lang.Object value)
key
- the property keyvalue
- the valuejava.lang.Object getProperty(java.lang.String key)
key
- the property keyvoid reset()
void setup()
void setParser(org.docgene.parser.XMLErrorHandler parser)
parser
- the parent parservoid setClassLoader(java.lang.ClassLoader loader)
loader
- the ClassLoader used for the propertiesCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence