org.plasma.sdo.xpath
Class XPathDataValue

java.lang.Object
  extended by org.plasma.sdo.xpath.DataGraphNodeAdapter
      extended by org.plasma.sdo.xpath.XPathDataValue

public class XPathDataValue
extends DataGraphNodeAdapter


Field Summary
 
Fields inherited from class org.plasma.sdo.xpath.DataGraphNodeAdapter
source, sourceProperty
 
Constructor Summary
XPathDataValue(java.lang.Object target, DataObject source, Property sourceProperty)
           
 
Method Summary
 java.lang.Object get()
          Returns the dereferenced value of an XPATH parse result.
 java.lang.Object getValue()
           
 void set(java.lang.Object value)
          Sets the given value into the XPATH parse result.
 
Methods inherited from class org.plasma.sdo.xpath.DataGraphNodeAdapter
getSource, getSourceProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathDataValue

public XPathDataValue(java.lang.Object target,
                      DataObject source,
                      Property sourceProperty)
Method Detail

getValue

public java.lang.Object getValue()

get

public java.lang.Object get()
Description copied from class: DataGraphNodeAdapter
Returns the dereferenced value of an XPATH parse result. This method generalizes how subclasses containing either data xpath result (e.g. a Data Object or value) or meta-data xpath results (e.g. a Property) return or dereference the results differently.

Specified by:
get in class DataGraphNodeAdapter
Returns:
the result

set

public void set(java.lang.Object value)
Description copied from class: DataGraphNodeAdapter
Sets the given value into the XPATH parse result. Abstract method to generalize how subclasses containing either data xpath result (e.g. a Data Object or value) or meta-data xpath results (e.g. a Property) dereference the results differently.

Specified by:
set in class DataGraphNodeAdapter


Copyright © 2013. All Rights Reserved.