ariba.ui.widgets
Class XMLUtil.FieldValue_XMLNode
java.lang.Object
ariba.util.core.ClassExtension
ariba.util.fieldvalue.FieldValue
ariba.util.fieldvalue.FieldValue_Object
ariba.ui.widgets.XMLUtil.FieldValue_XMLNode
- All Implemented Interfaces:
- java.lang.Cloneable
- Enclosing class:
- XMLUtil
public static final class XMLUtil.FieldValue_XMLNode
- extends FieldValue_Object
Method Summary |
java.lang.Object |
getFieldValuePrimitive(java.lang.Object receiver,
FieldPath keyPath)
Gets the value from the reveiver using the fieldName indicated by
fieldPath -- only the first node of the fieldPath is considered if
it is a multi-node path. |
void |
setFieldValue(java.lang.Object target,
FieldPath fieldPath,
java.lang.Object value)
Recursively calls getFieldValuePrimitive() with the head of the fieldPath
list up to the last fieldPath node and then calls setFieldValuePrimitive(). |
void |
setFieldValuePrimitive(java.lang.Object receiver,
FieldPath keyPath,
java.lang.Object value)
Sets the value on the reveiver using the fieldName indicated by
fieldPath -- only the first node of the fieldPath is considered if it is
a multi-node path. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLUtil.FieldValue_XMLNode
public XMLUtil.FieldValue_XMLNode()
getFieldValuePrimitive
public java.lang.Object getFieldValuePrimitive(java.lang.Object receiver,
FieldPath keyPath)
- Description copied from class:
FieldValue_Object
- Gets the value from the reveiver using the fieldName indicated by
fieldPath -- only the first node of the fieldPath is considered if
it is a multi-node path.
- Overrides:
getFieldValuePrimitive
in class FieldValue_Object
- Parameters:
receiver
- the object from which to get the value of the field identified by fieldPathkeyPath
- the fieldPath node which identifes the field to get.
- Returns:
- the value obtained from the target using the fieldPath
setFieldValue
public void setFieldValue(java.lang.Object target,
FieldPath fieldPath,
java.lang.Object value)
- Description copied from class:
FieldValue_Object
- Recursively calls getFieldValuePrimitive() with the head of the fieldPath
list up to the last fieldPath node and then calls setFieldValuePrimitive().
Each time the recursion iterates, the receiver is the value of the
previous getFieldValuePrimitive().
- Overrides:
setFieldValue
in class FieldValue_Object
- Parameters:
target
- the object on which to start the recursion for setting
the value using the fieldPathfieldPath
- the linked list of fieldPath nodes used to navigate from
target to the final object in the chain, upon which the value is setvalue
- the value which is set on the final object in the chain
setFieldValuePrimitive
public void setFieldValuePrimitive(java.lang.Object receiver,
FieldPath keyPath,
java.lang.Object value)
- Description copied from class:
FieldValue_Object
- Sets the value on the reveiver using the fieldName indicated by
fieldPath -- only the first node of the fieldPath is considered if it is
a multi-node path.
- Overrides:
setFieldValuePrimitive
in class FieldValue_Object
- Parameters:
receiver
- the object on which the value will be set for the field identiifed by fieldPathkeyPath
- the fieldPath node (which contains a candidate accessor) to be
used to set the value on target.value
- the value to set on the target
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.