nz.ac.waikato.mcennis.rat.graph.query
Class XorQuery<Type extends java.lang.Comparable>

java.lang.Object
  extended by nz.ac.waikato.mcennis.rat.graph.query.XorQuery<Type>
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
XorActorQuery, XorGraphQuery, XorLinkQuery

public abstract class XorQuery<Type extends java.lang.Comparable>
extends java.lang.Object
implements java.lang.Comparable


Nested Class Summary
 class XorQuery.XorIterator<Type extends java.lang.Comparable>
           
 
Constructor Summary
XorQuery()
           
 
Method Summary
 XMLParserObject.State buildingStatus()
           
 void buildQuery(java.util.Collection source, java.lang.String type)
           
 int compareTo(java.lang.Object o)
           
protected  java.util.Collection<Type> execute(java.util.Collection<Type> r)
           
protected abstract  java.util.Collection<Type> executeComponent(java.lang.Object query)
           
protected  java.util.Iterator<Type> executeIterator(java.util.Collection<Type> r)
           
protected abstract  java.util.Iterator<Type> executeIterator(java.lang.Object query)
           
protected abstract  void exportQuery(java.lang.Object object, java.io.Writer writer)
           
 void exportQuery(java.io.Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XorQuery

public XorQuery()
Method Detail

execute

protected java.util.Collection<Type> execute(java.util.Collection<Type> r)

executeIterator

protected java.util.Iterator<Type> executeIterator(java.util.Collection<Type> r)

executeComponent

protected abstract java.util.Collection<Type> executeComponent(java.lang.Object query)

executeIterator

protected abstract java.util.Iterator<Type> executeIterator(java.lang.Object query)

exportQuery

protected abstract void exportQuery(java.lang.Object object,
                                    java.io.Writer writer)
                             throws java.io.IOException
Throws:
java.io.IOException

exportQuery

public void exportQuery(java.io.Writer writer)
                 throws java.io.IOException
Throws:
java.io.IOException

buildQuery

public void buildQuery(java.util.Collection source,
                       java.lang.String type)

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

buildingStatus

public XMLParserObject.State buildingStatus()

Get Relational Analysis Toolkit at SourceForge.net. Fast, secure and Free Open Source software downloads