ariba.ui.widgets
Class XMLUtil.FieldValue_XMLNode

java.lang.Object
  extended by ariba.util.core.ClassExtension
      extended by ariba.util.fieldvalue.FieldValue
          extended by ariba.util.fieldvalue.FieldValue_Object
              extended by 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


Field Summary
 
Fields inherited from class ariba.util.fieldvalue.FieldValue
Getter, Setter
 
Fields inherited from class ariba.util.core.ClassExtension
forClass
 
Constructor Summary
XMLUtil.FieldValue_XMLNode()
           
 
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 ariba.util.fieldvalue.FieldValue_Object
createAccessor, getAccessor, getFieldValue, populateFieldInfo
 
Methods inherited from class ariba.util.fieldvalue.FieldValue
get, get, getFieldValue, registerClassExtension, setFieldValue
 
Methods inherited from class ariba.util.core.ClassExtension
clone, forClass, getRealClass, setForClass
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtil.FieldValue_XMLNode

public XMLUtil.FieldValue_XMLNode()
Method Detail

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 fieldPath
keyPath - 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 fieldPath
fieldPath - the linked list of fieldPath nodes used to navigate from target to the final object in the chain, upon which the value is set
value - 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 fieldPath
keyPath - 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.