org.plasma.sdo.xpath
Class XPathDataObject

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

public class XPathDataObject
extends DataGraphNodeAdapter


Field Summary
 
Fields inherited from class org.plasma.sdo.xpath.DataGraphNodeAdapter
source, sourceProperty
 
Constructor Summary
XPathDataObject(PlasmaDataObject target, PlasmaDataObject source, Property sourceProperty)
           
 
Method Summary
 Object get()
          Returns the dereferenced value of an XPATH parse result.
 PlasmaDataObject getDataObject()
           
 void set(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

XPathDataObject

public XPathDataObject(PlasmaDataObject target,
                       PlasmaDataObject source,
                       Property sourceProperty)
Method Detail

getDataObject

public PlasmaDataObject getDataObject()

get

public 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(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.