org.jboss.dashboard.factory
Class PropertyChangeProcessingInstruction
java.lang.Object
org.jboss.dashboard.factory.PropertyChangeProcessingInstruction
- Direct Known Subclasses:
- PropertyAddProcessingInstruction, PropertySetProcessingInstruction, PropertySubstractProcessingInstruction
public abstract class PropertyChangeProcessingInstruction
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARRAYS_DELIMITER
public static final String ARRAYS_DELIMITER
- See Also:
- Constant Field Values
PropertyChangeProcessingInstruction
protected PropertyChangeProcessingInstruction(Component component,
String propertyName,
String propertyValue)
getPropertyName
public String getPropertyName()
getPropertyValue
public String getPropertyValue()
getValueAfterChange
public abstract Object getValueAfterChange(Object originalValue,
Class expectedClass)
throws Exception
- Throws:
Exception
getNewInstanceForClass
protected Object getNewInstanceForClass(Class expectedClass)
getValueForParameter
protected Object getValueForParameter(String paramValue,
Class expectedClass)
throws Exception
- Throws:
Exception
getBaseArray
protected Object getBaseArray(Class expectedClass,
int length)
toInt
protected int toInt(String parameter)
throws Exception
- Throws:
Exception
toBoolean
protected boolean toBoolean(String parameter)
throws Exception
- Throws:
Exception
toLong
protected long toLong(String parameter)
throws Exception
- Throws:
Exception
toChar
protected char toChar(String parameter)
throws Exception
- Throws:
Exception
toDouble
protected double toDouble(String parameter)
throws Exception
- Throws:
Exception
toFloat
protected float toFloat(String parameter)
throws Exception
- Throws:
Exception
toByte
protected byte toByte(String parameter)
throws Exception
- Throws:
Exception
toShort
protected short toShort(String parameter)
throws Exception
- Throws:
Exception
toFile
protected Object toFile(String paramValue)
toComponent
protected Object toComponent(String parameter)
throws Exception
- Throws:
Exception
getComponent
protected Component getComponent()
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.