org.plasma.sdo.xpath
Class MetaDataNodeAdapter

java.lang.Object
  extended by org.plasma.sdo.xpath.MetaDataNodeAdapter
Direct Known Subclasses:
XPathProperty, XPathType

public abstract class MetaDataNodeAdapter
extends Object

Wraps a result or "endpoint" of a Jaxen XPATH parse, supplying source traversal information, e.g. the Type and Property which served as the source or "parent" of a particular traversal path.


Field Summary
protected  Type source
           
protected  Property sourceProperty
           
 
Constructor Summary
MetaDataNodeAdapter(Type source)
           
MetaDataNodeAdapter(Type source, Property sourceProperty)
           
 
Method Summary
 Type getSource()
          Returns the Type traversal source
 Property getSourceProperty()
          Returns the property traversal source
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected Type source

sourceProperty

protected Property sourceProperty
Constructor Detail

MetaDataNodeAdapter

public MetaDataNodeAdapter(Type source)

MetaDataNodeAdapter

public MetaDataNodeAdapter(Type source,
                           Property sourceProperty)
Method Detail

getSource

public Type getSource()
Returns the Type traversal source

Returns:
the source data object

getSourceProperty

public Property getSourceProperty()
Returns the property traversal source

Returns:
the source property


Copyright © 2013. All rights reserved.