public abstract class FeaturePropertyBase extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FeaturePropertyBase.State
States of the settings of a property, in the order: default value, value
set by FEATURE_SECURE_PROCESSING, jaxp.properties file, jaxp system
properties, and jaxp api properties
|
| Constructor and Description |
|---|
FeaturePropertyBase() |
| Modifier and Type | Method and Description |
|---|---|
<E extends Enum<E>> |
getIndex(Class<E> property,
String propertyName) |
abstract int |
getIndex(String propertyName)
Get the index by property name
|
String |
getValue(Enum property)
Return the value of the specified property
|
String |
getValue(String property)
Return the value of the specified property
|
String |
getValueAsString(String propertyName)
Return the value of the specified property.
|
String |
getValueByIndex(int index)
Return the value of a property by its ordinal
|
void |
setValue(Enum property,
FeaturePropertyBase.State state,
String value)
Set the value for a specific property.
|
void |
setValue(int index,
FeaturePropertyBase.State state,
String value)
Set the value of a property by its index
|
boolean |
setValue(String propertyName,
FeaturePropertyBase.State state,
boolean value)
Set value by property name and state
|
boolean |
setValue(String propertyName,
FeaturePropertyBase.State state,
Object value)
Set value by property name and state
|
public void setValue(Enum property, FeaturePropertyBase.State state, String value)
property - the propertystate - the state of the propertyvalue - the value of the propertypublic void setValue(int index,
FeaturePropertyBase.State state,
String value)
index - the index of the propertystate - the state of the propertyvalue - the value of the propertypublic boolean setValue(String propertyName, FeaturePropertyBase.State state, Object value)
propertyName - property namestate - the state of the propertyvalue - the value of the propertypublic boolean setValue(String propertyName, FeaturePropertyBase.State state, boolean value)
propertyName - property namestate - the state of the propertyvalue - the value of the propertypublic String getValue(Enum property)
property - the propertypublic String getValue(String property)
property - the propertypublic String getValueAsString(String propertyName)
propertyName - the property namepublic String getValueByIndex(int index)
index - the index of a propertypublic abstract int getIndex(String propertyName)
propertyName - property nameCopyright © 2018–2021 mhoffrogge. All rights reserved.