public interface ConfigurableObject
A class implementing ConfigurableObject
interface
is an object which could be configured through an XML Document or
a Properties object.
Modifier and Type | Method and Description |
---|---|
void |
configure(Element tag)
Configure the object.
|
void |
configure(Properties props)
Configure the object.
|
void |
configureProperties(InputStream source)
Configure the object.
|
void |
configureXML(InputStream source)
Configure the object.
|
void configureProperties(InputStream source) throws ConfigException
Configure the object.
source
- The input source to use for configuration.ConfigException
- If troubles arise during object configuration.void configureXML(InputStream source) throws ConfigException
Configure the object.
source
- The input source to use for configuration.ConfigException
- If troubles arise during object configuration.void configure(Properties props) throws ConfigException
Configure the object.
props
- The property object to use for configuration.ConfigException
- If troubles arise during object configuration.void configure(Element tag) throws ConfigException
Configure the object.
tag
- The tag object to use for configuration.ConfigException
- If troubles arise during object configuration.Copyright © 2022 Fugerit. All rights reserved.