edu.wpi.cs.dsrg.xmldb.xat.common.operator.xmloperator
Class NavigateImp

java.lang.Object
  |
  +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp
        |
        +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
              |
              +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
                    |
                    +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.xmloperator.NavigateImp
Direct Known Subclasses:
NavCollectionImp, NavUnnestImp

public abstract class NavigateImp
extends XATOperatorImp
implements Navigate

Implementation for the Navigate interface. The Navigate opertor takes the source and navigates through it given a specific XPath

Since:
1.0
See Also:
Serialized Form

Field Summary
protected  NavigationStep[] dest
           
protected  NavigationStep[] entry
           
 
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
columnsFiltered, outputColumnName, xnodOwner, xtabOutput
 
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
stats, statsPresent
 
Constructor Summary
NavigateImp(XATNode xnodInit)
          Assigns a node to this operator.
NavigateImp(XATNode node, NavigationStep[] ep, NavigationStep[] d)
          Assigns a node to this operator, an entry point, and a destination .
 
Method Summary
 java.lang.String getBinding()
          Deprecated. Use getOutputColumnName() instead.
 NavigationStep[] getDestination()
          Gets the destination.
 NavigationStep[] getEntryPoint()
          Gets the entry point.
 java.lang.String printNode()
          Returns a String that represents the value of this object.
 void setBinding(java.lang.String bind)
          Deprecated. Use setOutputColumnName(String) instead.
 void setDestination(NavigationStep[] destination)
          Sets the destination.
 void setEntryPoint(NavigationStep[] ept)
          Sets the entry point.
abstract  java.lang.String toString()
          Abstract method.
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
clone, getColumnsFiltered, getNode, getOutput, getOutputColumnName, getOutputDataSource, getOutputDataSources, getPrimaryDataSource, getPrimarySource, setDefaultProperties, setNode, setOutput, setOutputColumnName, setProperty
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
addStatistic, compareTo, getStatistics, isValidStatistic, setDefaultStatistics
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp
addProperty, getProperties, getProperty, isValidPropertyName, setNewPropertyValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

entry

protected NavigationStep[] entry

dest

protected NavigationStep[] dest
Constructor Detail

NavigateImp

public NavigateImp(XATNode xnodInit)
Assigns a node to this operator.
Parameters:
XATNode - edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode
Since:
1.0

NavigateImp

public NavigateImp(XATNode node,
                   NavigationStep[] ep,
                   NavigationStep[] d)
Assigns a node to this operator, an entry point, and a destination .
Parameters:
node - edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode
ep - edu.wpi.cs.dsrg.xmldb.xat.common.operator.xmloperator.NavigationStep[]
d - edu.wpi.cs.dsrg.xmldb.xat.common.operator.xmloperator.NavigationStep[]
Since:
1.0
Method Detail

getBinding

public java.lang.String getBinding()
Deprecated. Use getOutputColumnName() instead.

Gets the binding value.
Specified by:
getBinding in interface Navigate
Returns:
String
Since:
1.0

getDestination

public NavigationStep[] getDestination()
Gets the destination.
Specified by:
getDestination in interface Navigate
Returns:
an array of NavigationStep
Since:
1.0

getEntryPoint

public NavigationStep[] getEntryPoint()
Gets the entry point.
Specified by:
getEntryPoint in interface Navigate
Returns:
an array of NavigationStep
Since:
1.0

printNode

public java.lang.String printNode()
Returns a String that represents the value of this object.
Specified by:
printNode in interface Navigate
Returns:
a String representation of the object
Since:
1.0

setBinding

public void setBinding(java.lang.String bind)
Deprecated. Use setOutputColumnName(String) instead.

Sets the binding value.
Specified by:
setBinding in interface Navigate
Parameters:
bind - String
Since:
1.0

setDestination

public void setDestination(NavigationStep[] destination)
Sets the destination.
Specified by:
setDestination in interface Navigate
Parameters:
destination - is an array of NavigationStep
Since:
1.0

setEntryPoint

public void setEntryPoint(NavigationStep[] ept)
Sets the entry point.
Specified by:
setEntryPoint in interface Navigate
Parameters:
ept - New entry point for this navigation operator.
Since:
1.0

toString

public abstract java.lang.String toString()
Abstract method.
Overrides:
toString in class XATOperatorImp
Returns:
a String
Since:
1.0