Home | History | Annotate | Download | only in serializer

Lines Matching refs:Properties

29 import java.util.Properties;
38 * This class is a factory to generate a set of default properties
41 * The properties generated by this factory
50 * that can be used to set non-standard property values on a java.util.Properties object
56 * properties value is a the number of whitespaces to indent by per
190 /** property file for default XML properties */
191 private static final String PROP_FILE_XML = "output_xml.properties";
192 /** property file for default TEXT properties */
193 private static final String PROP_FILE_TEXT = "output_text.properties";
194 /** property file for default HTML properties */
195 private static final String PROP_FILE_HTML = "output_html.properties";
196 /** property file for default UNKNOWN (Either XML or HTML, to be determined later) properties */
197 private static final String PROP_FILE_UNKNOWN = "output_unknown.properties";
203 /** The default properties of all output files. */
204 private static Properties m_xml_properties = null;
206 /** The default properties when method="html". */
207 private static Properties m_html_properties = null;
209 /** The default properties when method="text". */
210 private static Properties m_text_properties = null;
212 /** The properties when method="" for the "unknown" wrapper */
213 private static Properties m_unknown_properties = null;
242 * the form output_[method].properties (for instance, output_html.properties).
243 * The output_xml.properties file is always used as the base.
246 * use the output_xml.properties file.</p>
250 * @return Properties object that holds the defaults for the given method.
252 static public final Properties getDefaultMethodProperties(String method)
255 Properties defaultProperties = null;
330 return new Properties(defaultProperties);
334 * Load the properties file from a resource stream. If a
343 * @param defaults Default properties, which may be null.
345 static private Properties loadPropertiesFile(
347 Properties defaults)
352 // so that we can cache the ContextClassLoader and bottleneck all properties file
355 Properties props = new Properties(defaults);
429 // and not at the Properties level! This is important
430 // because we don't want to modify the default properties.
442 Enumeration keys = ((Properties) props.clone()).keys();
488 * Fix up a string in an output properties file according to