public class PropertyValueParserFactoryImpl extends Object implements PropertyValueParserFactory
Modifier and Type | Field and Description |
---|---|
static int |
INITIAL_DEFAULT_EXPANSION_LEVELS |
MAX_EXPANSION_LEVELS, MAX_LENGTH_COMPONENT_NAME, MAX_LENGTH_UNPARSED_VALUE, MIN_EXPANSION_LEVELS, MIN_LENGTH_COMPONENT_NAME, MIN_LENGTH_UNPARSED_VALUE
Constructor and Description |
---|
PropertyValueParserFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultExpansionLevels()
returns the value that was set by setDefaultExpansionLevels.
|
PropertyValueParser |
getPropertyValueParser()
returns a PropertyValueParserImpl
|
void |
setDefaultExpansionLevels(int pDefaultExpansionLevels)
sets the defaultExpansionLevels and ensures they are within the limits
|
public static final int INITIAL_DEFAULT_EXPANSION_LEVELS
public PropertyValueParser getPropertyValueParser() throws BusException
getPropertyValueParser
in interface PropertyValueParserFactory
BusException
- when there is trouble creating a PropertyValueParserImplpublic void setDefaultExpansionLevels(int pDefaultExpansionLevels) throws BusException
PropertyValueParserFactory
setDefaultExpansionLevels
in interface PropertyValueParserFactory
pDefaultExpansionLevels
- a value between MIN_EXPANSION_LEVELS and
MAX_EXPANSION_LEVELS. If param pExpansionLevels is not correct a BusException
will raised and the value will remain as it was before.BusException
- when not able to set the pExpansionLevels.setDefaultExpansionLevels
public int getDefaultExpansionLevels() throws BusException
PropertyValueParserFactory
getDefaultExpansionLevels
in interface PropertyValueParserFactory
BusException
- when not able to return expansionLevels.getDefaultExpansionLevels
© 1998- 2021 Escenic AS