public final class XMLSerializerProperties extends Object
XMLSerializer properties.
Modifier and Type | Field and Description |
---|---|
static Object[] |
S_ID
Serialize TT-ID: yes/no.
|
static Object[] |
S_INDENT
Serialization parameter: yes/no.
|
static Object[] |
S_INDENT_SPACES
Specific serialization parameter: number of spaces to indent.
|
static Object[] |
S_REST
Serialize REST: yes/no.
|
static Object[] |
S_XMLDECL
Serialize XML declaration: yes/no.
|
Constructor and Description |
---|
XMLSerializerProperties()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ConcurrentMap<String,Object> |
getmProps()
Get properties map.
|
ConcurrentMap<String,Object> |
readProps(String paramFilePath)
Read properties
|
public static final Object[] S_ID
public static final Object[] S_INDENT
public static final Object[] S_INDENT_SPACES
public static final Object[] S_REST
public static final Object[] S_XMLDECL
public ConcurrentMap<String,Object> readProps(String paramFilePath)
Read properties file into a concurrent HashMap. Format of properties file:
Note that currently all properties have to be set. If specific key/value pairs are specified more than once the last values are preserved, so the default values are overridden by user specified values.
paramFilePath
- Path to properties file.public ConcurrentMap<String,Object> getmProps()
Copyright © 2013. All Rights Reserved.