org.apache.xml.serializer
public final class OutputPropertyUtils extends Object
See Also: java.util.Properties
UNKNOWN: internal
Method Summary | |
---|---|
static boolean | getBooleanProperty(String key, Properties props)
Searches for the boolean property with the specified key in the property list.
|
static int | getIntProperty(String key, Properties props)
Searches for the int property with the specified key in the property list.
|
false
if the property is not found, or if the value is other
than "yes".
Parameters: key the property key. props the list of properties that will be searched.
Returns: the value in this property list as a boolean value, or false if null or not "yes".
false
if the property is not found, or if the value is other
than "yes".
Parameters: key the property key. props the list of properties that will be searched.
Returns: the value in this property list as a int value, or 0 if null or not a number.